#include "database.h"

#include <QXmlSimpleReader>
#include <QXmlDefaultHandler>

#include <QDebug>

#include "random.h"

template<typename T>
class DatabaseHandler: public QXmlDefaultHandler
{
    QString _rootElement;
    bool _parseItems;
    QMap<QString,QString> _values;
public:
    QList<T> _result;

    DatabaseHandler(const QString& rootElement)
        : _rootElement(rootElement), _parseItems(false)
    {
    }

    bool startElement(const QString &, const QString &, const QString &qName, const QXmlAttributes &atts)
    {
        if (qName == _rootElement)
        {
            _parseItems = true;
        }
        else if (_parseItems)
        {
            for (int i=0;i<atts.count();++i)
            {
                _values[atts.qName(i)] = atts.value(i);
            }
        }

        return true;
    }
    bool endElement(const QString &, const QString &, const QString &qName)
    {
        if (qName == _rootElement) _parseItems = false;
        else if (_parseItems)
        {
            T item(_values);
            if (_result.contains(item))
            {
                qWarning() << "[Initialization] Double hit for:" << item << "(only first version will be stored).";
            }

            _result << T(_values);
            _values.clear();

        }
        return true;
    }

    bool characters(const QString &ch)
    {
        if (_parseItems) _values[XMLItem::KEY_DESCRIPTION] = ch;
        return true;
    }
};

class DisciplineHandler: public QXmlDefaultHandler
{
  Discipline _current;
public:
  QList<Discipline> _result;
  QList<ed::Race> _races;
  QStringList _arts;
  QPair<int,int> _endurance;
  QVector<Discipline::Circle> _circles;
  Discipline::Circle _circle;
  QList<ed::Attribute> _baseAttributes;

  bool startElement(const QString &, const QString &, const QString &qName, const QXmlAttributes &atts)
  {
    if (qName == "discipline")
    {
      _current = Discipline();
      _current.set_name(atts.value("name"));
    }
    else if (qName == "restrictions") _races.clear();
    else if (qName == "race") _races << ed::Race::fromString(atts.value("name"));

    else if (qName == "attributes") _baseAttributes.clear();
    else if (qName == "attribute") _baseAttributes << ed::Attribute::fromString(atts.value("id"));

    else if (qName == "arts") _arts.clear();
    else if (qName == "art") _arts << atts.value("name");

    else if (qName == "endurance") _endurance = QPair<int,int>(atts.value("death").toInt(),atts.value("unconcious").toInt());

    else if (qName == "circles") _circles.clear();
    else if (qName == "circle") { Q_ASSERT(_circles.size() == atts.value("n").toInt() - 1); _circle = Discipline::Circle(); }
    else if (qName == "talents") _circle._talents.clear();
    else if (qName == "talent")
    {
      Talent t = Database::talent(atts.value("name"));
      foreach(const Discipline::Circle& c, _circles)
      {
        Q_ASSERT(!c._talents.contains(t));
      }
      _circle._talents[t] = (atts.value("discipline") == "true");
    }
    else if (qName == "bonuses") _circle._bonuses.clear();
    else if (qName == "bonus")
    {
      QString type = atts.value("type");
      int value = atts.value("value").toInt();

      if (type == "recup") _circle._bonuses[ed::Char_RecuperationCount] = value;
      else if (type == "initiative") _circle._bonuses[ed::Char_Initiative] = value;
      else if (type == "DP") _circle._bonuses[ed::Char_PhysicalDefense] = value;
      else if (type == "DM") _circle._bonuses[ed::Char_MagicDefense] = value;
      else if (type == "DS") _circle._bonuses[ed::Char_SocialDefense] = value;
      else if (type == "karma") _circle._karmaBonus = value;
      else qFatal("Unknown bonus type");
    }
    else if (qName == "karmas") _circle._karmaUsages.clear();
    else if (qName == "karma") _circle._karmaUsages << atts.value("usage");

    return true;
  }

  bool endElement(const QString &, const QString &, const QString &qName)
  {
    if (qName == "discipline") _result << _current;
    else if (qName == "restrictions") _current.set_racialRestrictions(_races);
    else if (qName == "arts") _current.set_arts(_arts);
    else if (qName == "attributes") _current.set_baseAttributes(_baseAttributes);
    else if (qName == "endurance") _current.set_endurance(_endurance);
    else if (qName == "circles") _current.set_circles(_circles);
    else if (qName == "circle") _circles.push_back(_circle);

    return true;
  }
};

QList<Talent> Database::_talents = QList<Talent>();
QList<Skill> Database::_skills = QList<Skill>();
QList<Spell> Database::_spells = QList<Spell>();
QList<Specialization> Database::_specializations = QList<Specialization>();
QList<Discipline> Database::_disciplines = QList<Discipline>();

template<typename T>
QList<T> Database::init(const QString &rootElement)
{
    DatabaseHandler<T> handler(rootElement);
    QXmlSimpleReader reader;
    reader.setContentHandler(&handler);
    reader.setErrorHandler(&handler);
    QFile dbFile(":/database.xml");
    QXmlInputSource source(&dbFile);
    reader.parse(&source);
    return handler._result;
}

QList<Discipline> Database::initDisciplines()
{
  DisciplineHandler handler;
  QXmlSimpleReader reader;
  reader.setContentHandler(&handler);
  reader.setErrorHandler(&handler);
  QFile dbFile(":/disciplines.xml");
  QXmlInputSource source(&dbFile);
  reader.parse(&source);
  return handler._result;
}

void Database::init()
{
    _talents = init<Talent>("talents");
    _skills = init<Skill>("skills");
    _spells = init<Spell>("spells");
    _specializations = init<Specialization>("specializations");
    _disciplines = initDisciplines();

    initTables();
}

QList<Talent> Database::talents(const QString &pattern)
{
    QList<Talent> result;
    foreach(const Talent& t, _talents)
    {
        if (t.name().contains(pattern,Qt::CaseInsensitive)) result << t;
    }
    return result;
}

ed::DicePool Database::dicePool(int level)
{
  return LEVEL_DICE[level];
}

ed::ResultDegree Database::resultDegree(int difficulty, int testResult)
{
  ed::ResultDegree result = ed::Pathetic;

  QMap<ed::ResultDegree,int> degrees = RESULT_DEGREE[difficulty];
  foreach(ed::ResultDegree rd, degrees.keys())
  {
    if (testResult < degrees[rd]) break;
    result = rd;
  }
  return result;
}

int Database::requiredResult(int difficulty, ed::ResultDegree resultDegree)
{
  return RESULT_DEGREE[difficulty][resultDegree];
}

int Database::level(int attributeValue)
{
  return ATTRIBUTE_LEVEL[attributeValue];
}

int Database::characteristicValue(ed::Characteristic c, int attributeValue)
{
  return CHARACTERISTICS[attributeValue][c];
}

ed::Attribute Database::characteristicAttribute(ed::Characteristic c)
{
  return CHARACTERISTIC_ATTRIBUTE[c];
}

int Database::racialModifier(ed::Race r, ed::Attribute a)
{
  return RACIAL_MODIFIERS[r][a];
}

int Database::attributeCost(int attributeValue)
{
  return ATTRIBUTE_COSTS[attributeValue];
}

int Database::attributeLegendCost(int attributeIncrease)
{
  return ATTRIBUTE_LEGEND_COST[attributeIncrease];
}

int Database::movementDexterityModifier(ed::Race r)
{
  return MOVEMENT_DEXTERITY_MODIFIER[r];
}

int Database::skillLegendCost(int rank)
{
  return SKILL_LEGEND_COST[rank];
}

int Database::talentLegendCost(int rank, int circle)
{
  return TALENT_LEGEND_COST[circle][rank];
}

int Database::specializationLegendCost(const Specialization &s)
{
  // TODO
  return 0;
}

int Database::minimumTalentRankRequirement(int circle)
{
  return MINIMUM_TALENT_RANK_REQUIREMENTS[circle];
}

int Database::minimumTalentCountRequirement(int circle)
{
  Q_ASSERT(circle >= 1 && circle <= 15);
  return circle + 3;
}

Talent Database::talent(const QString& name)
{
  Talent result;
  foreach(const Talent& t, _talents)
  {
    if (t.name() == name) { result = t; break; }
  }
  Q_ASSERT(result.isValid());
  return result;
}

Skill Database::skill(const QString &name)
{
  Skill result;
  foreach(const Skill& s, _skills)
  {
    if (s.name() == name) { result = s; break; }
  }
  Q_ASSERT(result.isValid());
  return result;
}

QList<Spell> Database::spells(const Discipline &d, int circle)
{
  QList<Spell> result;
  foreach(const Spell& s, spells())
  {
    if (s.discipline() == d.name() && s.circle() == circle) result << s;
  }
  return result;
}

Discipline Database::discipline(const QString& name)
{
  Discipline result;
  foreach(const Discipline& d, _disciplines)
  {
    if (d.name().compare(name,Qt::CaseInsensitive) == 0) { result = d; break; }
  }
  Q_ASSERT(!result.name().isNull());
  return result;
}

int Database::karmaLevel(ed::Race r)
{
  return KARMA[r].first;
}

int Database::maximumKarma(ed::Race r)
{
  return KARMA[r].second;
}

QString Database::randomName(const QString &sourceBase)
{
  QFile inFile(QString("://names/%1.csv").arg(sourceBase));
  inFile.open(QIODevice::ReadOnly);
  QString fileStr = inFile.readAll();
  inFile.close();
  QStringList lst = fileStr.split("\n");
  QString result = RL(lst);
  return result;
}

QVector<ed::DicePool> Database::LEVEL_DICE = QVector<ed::DicePool>();
QVector<int> Database::ATTRIBUTE_LEVEL = QVector<int>();
QVector<QMap<ed::ResultDegree,int> > Database::RESULT_DEGREE = QVector<QMap<ed::ResultDegree,int> >();
QVector<QMap<ed::Characteristic,int> > Database::CHARACTERISTICS = QVector<QMap<ed::Characteristic,int> >();
QMap<ed::Characteristic,ed::Attribute> Database::CHARACTERISTIC_ATTRIBUTE = QMap<ed::Characteristic,ed::Attribute>();
QMap<ed::Race,QMap<ed::Attribute,int> > Database::RACIAL_MODIFIERS = QMap<ed::Race,QMap<ed::Attribute,int> >();
QVector<int> Database::ATTRIBUTE_COSTS = QVector<int>();
QMap<ed::Race,int> Database::MOVEMENT_DEXTERITY_MODIFIER = QMap<ed::Race,int>();
QVector<int> Database::ATTRIBUTE_LEGEND_COST = QVector<int>();
QVector<int> Database::SKILL_LEGEND_COST = QVector<int>();
QVector<QVector<int> > Database::TALENT_LEGEND_COST = QVector<QVector<int> >();
QVector<int> Database::MINIMUM_TALENT_RANK_REQUIREMENTS = QVector<int>();
QMap<ed::Race,QPair<int,int> > Database::KARMA = QMap<ed::Race,QPair<int,int> >();
void Database::initTables()
{
  LEVEL_DICE.resize(41);
  LEVEL_DICE[1] = ed::DicePool() << ed::Die_D4_2;
  LEVEL_DICE[2] = ed::DicePool() << ed::Die_D4_1;
  LEVEL_DICE[3] = ed::DicePool() << ed::Die_D4;
  LEVEL_DICE[4] = ed::DicePool() << ed::Die_D6;
  LEVEL_DICE[5] = ed::DicePool() << ed::Die_D8;
  LEVEL_DICE[6] = ed::DicePool() << ed::Die_D10;
  LEVEL_DICE[7] = ed::DicePool() << ed::Die_D12;
  LEVEL_DICE[8] = ed::DicePool() << ed::Die_D6 << ed::Die_D6;
  LEVEL_DICE[9] = ed::DicePool() << ed::Die_D8 << ed::Die_D6;
  LEVEL_DICE[10] = ed::DicePool() << ed::Die_D10 << ed::Die_D6;
  LEVEL_DICE[11] = ed::DicePool() << ed::Die_D10 << ed::Die_D8;
  LEVEL_DICE[12] = ed::DicePool() << ed::Die_D10 << ed::Die_D10;
  LEVEL_DICE[13] = ed::DicePool() << ed::Die_D12 << ed::Die_D10;
  LEVEL_DICE[14] = ed::DicePool() << ed::Die_D12 << ed::Die_D12;
  LEVEL_DICE[15] = ed::DicePool() << ed::Die_D20 << ed::Die_D6;
  LEVEL_DICE[16] = ed::DicePool() << ed::Die_D20 << ed::Die_D8;
  LEVEL_DICE[17] = ed::DicePool() << ed::Die_D20 << ed::Die_D10;
  LEVEL_DICE[18] = ed::DicePool() << ed::Die_D20 << ed::Die_D12;
  LEVEL_DICE[19] = ed::DicePool() << ed::Die_D20 << ed::Die_D6 << ed::Die_D6;
  LEVEL_DICE[20] = ed::DicePool() << ed::Die_D20 << ed::Die_D8 << ed::Die_D6;
  LEVEL_DICE[21] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D6;
  LEVEL_DICE[22] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D8;
  LEVEL_DICE[23] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D10;
  LEVEL_DICE[24] = ed::DicePool() << ed::Die_D20 << ed::Die_D12 << ed::Die_D10;
  LEVEL_DICE[25] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D8 << ed::Die_D4;
  LEVEL_DICE[26] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D8 << ed::Die_D6;
  LEVEL_DICE[27] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D8 << ed::Die_D8;
  LEVEL_DICE[28] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D10 << ed::Die_D8;
  LEVEL_DICE[29] = ed::DicePool() << ed::Die_D20 << ed::Die_D12 << ed::Die_D10 << ed::Die_D8;
  LEVEL_DICE[30] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D8 << ed::Die_D6 << ed::Die_D6;
  LEVEL_DICE[31] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D8 << ed::Die_D8 << ed::Die_D6;
  LEVEL_DICE[32] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D10 << ed::Die_D8 << ed::Die_D6;
  LEVEL_DICE[33] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D10 << ed::Die_D8 << ed::Die_D8;
  LEVEL_DICE[34] = ed::DicePool() << ed::Die_D20 << ed::Die_D10 << ed::Die_D10 << ed::Die_D10 << ed::Die_D8;
  LEVEL_DICE[35] = ed::DicePool() << ed::Die_D20 << ed::Die_D12 << ed::Die_D10 << ed::Die_D10 << ed::Die_D8;
  LEVEL_DICE[36] = ed::DicePool() << ed::Die_D20 << ed::Die_D20 << ed::Die_D10 << ed::Die_D8 << ed::Die_D4;
  LEVEL_DICE[37] = ed::DicePool() << ed::Die_D20 << ed::Die_D20 << ed::Die_D10 << ed::Die_D8 << ed::Die_D6;
  LEVEL_DICE[38] = ed::DicePool() << ed::Die_D20 << ed::Die_D20 << ed::Die_D10 << ed::Die_D8 << ed::Die_D8;
  LEVEL_DICE[39] = ed::DicePool() << ed::Die_D20 << ed::Die_D20 << ed::Die_D10 << ed::Die_D10 << ed::Die_D8;
  LEVEL_DICE[40] = ed::DicePool() << ed::Die_D20 << ed::Die_D20 << ed::Die_D12 << ed::Die_D10 << ed::Die_D8;

  ATTRIBUTE_LEVEL.resize(118);
  ATTRIBUTE_LEVEL[1] = 2;
  ATTRIBUTE_LEVEL[2] = 2;
  ATTRIBUTE_LEVEL[3] = 2;
  ATTRIBUTE_LEVEL[4] = 3;
  ATTRIBUTE_LEVEL[5] = 3;
  ATTRIBUTE_LEVEL[6] = 3;
  ATTRIBUTE_LEVEL[7] = 4;
  ATTRIBUTE_LEVEL[8] = 4;
  ATTRIBUTE_LEVEL[9] = 4;
  ATTRIBUTE_LEVEL[10] = 5;
  ATTRIBUTE_LEVEL[11] = 5;
  ATTRIBUTE_LEVEL[12] = 5;
  ATTRIBUTE_LEVEL[13] = 6;
  ATTRIBUTE_LEVEL[14] = 6;
  ATTRIBUTE_LEVEL[15] = 6;
  ATTRIBUTE_LEVEL[16] = 7;
  ATTRIBUTE_LEVEL[17] = 7;
  ATTRIBUTE_LEVEL[18] = 7;
  ATTRIBUTE_LEVEL[19] = 8;
  ATTRIBUTE_LEVEL[20] = 8;
  ATTRIBUTE_LEVEL[21] = 8;
  ATTRIBUTE_LEVEL[22] = 9;
  ATTRIBUTE_LEVEL[23] = 9;
  ATTRIBUTE_LEVEL[24] = 9;
  ATTRIBUTE_LEVEL[25] = 10;
  ATTRIBUTE_LEVEL[26] = 10;
  ATTRIBUTE_LEVEL[27] = 10;
  ATTRIBUTE_LEVEL[28] = 11;
  ATTRIBUTE_LEVEL[29] = 11;
  ATTRIBUTE_LEVEL[30] = 11;
  ATTRIBUTE_LEVEL[31] = 12;
  ATTRIBUTE_LEVEL[32] = 12;
  ATTRIBUTE_LEVEL[33] = 12;
  ATTRIBUTE_LEVEL[34] = 13;
  ATTRIBUTE_LEVEL[35] = 13;
  ATTRIBUTE_LEVEL[36] = 13;
  ATTRIBUTE_LEVEL[37] = 14;
  ATTRIBUTE_LEVEL[38] = 14;
  ATTRIBUTE_LEVEL[39] = 14;
  ATTRIBUTE_LEVEL[40] = 15;
  ATTRIBUTE_LEVEL[41] = 15;
  ATTRIBUTE_LEVEL[42] = 15;
  ATTRIBUTE_LEVEL[43] = 16;
  ATTRIBUTE_LEVEL[44] = 16;
  ATTRIBUTE_LEVEL[45] = 16;
  ATTRIBUTE_LEVEL[46] = 17;
  ATTRIBUTE_LEVEL[47] = 17;
  ATTRIBUTE_LEVEL[48] = 17;
  ATTRIBUTE_LEVEL[49] = 18;
  ATTRIBUTE_LEVEL[50] = 18;
  ATTRIBUTE_LEVEL[51] = 18;
  ATTRIBUTE_LEVEL[52] = 19;
  ATTRIBUTE_LEVEL[53] = 19;
  ATTRIBUTE_LEVEL[54] = 19;
  ATTRIBUTE_LEVEL[55] = 20;
  ATTRIBUTE_LEVEL[56] = 20;
  ATTRIBUTE_LEVEL[57] = 20;
  ATTRIBUTE_LEVEL[58] = 21;
  ATTRIBUTE_LEVEL[59] = 21;
  ATTRIBUTE_LEVEL[60] = 21;
  ATTRIBUTE_LEVEL[61] = 22;
  ATTRIBUTE_LEVEL[62] = 22;
  ATTRIBUTE_LEVEL[63] = 22;
  ATTRIBUTE_LEVEL[64] = 23;
  ATTRIBUTE_LEVEL[65] = 23;
  ATTRIBUTE_LEVEL[66] = 23;
  ATTRIBUTE_LEVEL[67] = 24;
  ATTRIBUTE_LEVEL[68] = 24;
  ATTRIBUTE_LEVEL[69] = 24;
  ATTRIBUTE_LEVEL[70] = 25;
  ATTRIBUTE_LEVEL[71] = 25;
  ATTRIBUTE_LEVEL[72] = 25;
  ATTRIBUTE_LEVEL[73] = 26;
  ATTRIBUTE_LEVEL[74] = 26;
  ATTRIBUTE_LEVEL[75] = 26;
  ATTRIBUTE_LEVEL[76] = 27;
  ATTRIBUTE_LEVEL[77] = 27;
  ATTRIBUTE_LEVEL[78] = 27;
  ATTRIBUTE_LEVEL[79] = 28;
  ATTRIBUTE_LEVEL[80] = 28;
  ATTRIBUTE_LEVEL[81] = 28;
  ATTRIBUTE_LEVEL[82] = 29;
  ATTRIBUTE_LEVEL[83] = 29;
  ATTRIBUTE_LEVEL[84] = 29;
  ATTRIBUTE_LEVEL[85] = 30;
  ATTRIBUTE_LEVEL[86] = 30;
  ATTRIBUTE_LEVEL[87] = 30;
  ATTRIBUTE_LEVEL[88] = 31;
  ATTRIBUTE_LEVEL[89] = 31;
  ATTRIBUTE_LEVEL[90] = 31;
  ATTRIBUTE_LEVEL[91] = 32;
  ATTRIBUTE_LEVEL[92] = 32;
  ATTRIBUTE_LEVEL[93] = 32;
  ATTRIBUTE_LEVEL[94] = 33;
  ATTRIBUTE_LEVEL[95] = 33;
  ATTRIBUTE_LEVEL[96] = 33;
  ATTRIBUTE_LEVEL[97] = 34;
  ATTRIBUTE_LEVEL[98] = 34;
  ATTRIBUTE_LEVEL[99] = 34;
  ATTRIBUTE_LEVEL[100] = 35;
  ATTRIBUTE_LEVEL[101] = 35;
  ATTRIBUTE_LEVEL[102] = 35;
  ATTRIBUTE_LEVEL[103] = 36;
  ATTRIBUTE_LEVEL[104] = 36;
  ATTRIBUTE_LEVEL[105] = 36;
  ATTRIBUTE_LEVEL[106] = 37;
  ATTRIBUTE_LEVEL[107] = 37;
  ATTRIBUTE_LEVEL[108] = 37;
  ATTRIBUTE_LEVEL[109] = 38;
  ATTRIBUTE_LEVEL[110] = 38;
  ATTRIBUTE_LEVEL[111] = 38;
  ATTRIBUTE_LEVEL[112] = 39;
  ATTRIBUTE_LEVEL[113] = 39;
  ATTRIBUTE_LEVEL[114] = 39;
  ATTRIBUTE_LEVEL[115] = 40;
  ATTRIBUTE_LEVEL[116] = 40;
  ATTRIBUTE_LEVEL[117] = 40;

  RESULT_DEGREE.resize(52);
  RESULT_DEGREE[2][ed::Pathetic] = 0;
  RESULT_DEGREE[2][ed::Mediocre] = 1;
  RESULT_DEGREE[2][ed::Average] = 2;
  RESULT_DEGREE[2][ed::Good] = 5;
  RESULT_DEGREE[2][ed::Excellent] = 7;
  RESULT_DEGREE[2][ed::Extraordinary] = 9;
  RESULT_DEGREE[3][ed::Pathetic] = 0;
  RESULT_DEGREE[3][ed::Mediocre] = 1;
  RESULT_DEGREE[3][ed::Average] = 3;
  RESULT_DEGREE[3][ed::Good] = 6;
  RESULT_DEGREE[3][ed::Excellent] = 8;
  RESULT_DEGREE[3][ed::Extraordinary] = 10;
  RESULT_DEGREE[4][ed::Pathetic] = 0;
  RESULT_DEGREE[4][ed::Mediocre] = 1;
  RESULT_DEGREE[4][ed::Average] = 4;
  RESULT_DEGREE[4][ed::Good] = 7;
  RESULT_DEGREE[4][ed::Excellent] = 10;
  RESULT_DEGREE[4][ed::Extraordinary] = 12;
  RESULT_DEGREE[5][ed::Pathetic] = 0;
  RESULT_DEGREE[5][ed::Mediocre] = 1;
  RESULT_DEGREE[5][ed::Average] = 5;
  RESULT_DEGREE[5][ed::Good] = 9;
  RESULT_DEGREE[5][ed::Excellent] = 11;
  RESULT_DEGREE[5][ed::Extraordinary] = 14;
  RESULT_DEGREE[6][ed::Pathetic] = 1;
  RESULT_DEGREE[6][ed::Mediocre] = 2;
  RESULT_DEGREE[6][ed::Average] = 6;
  RESULT_DEGREE[6][ed::Good] = 10;
  RESULT_DEGREE[6][ed::Excellent] = 13;
  RESULT_DEGREE[6][ed::Extraordinary] = 17;
  RESULT_DEGREE[7][ed::Pathetic] = 1;
  RESULT_DEGREE[7][ed::Mediocre] = 2;
  RESULT_DEGREE[7][ed::Average] = 7;
  RESULT_DEGREE[7][ed::Good] = 12;
  RESULT_DEGREE[7][ed::Excellent] = 15;
  RESULT_DEGREE[7][ed::Extraordinary] = 19;
  RESULT_DEGREE[8][ed::Pathetic] = 1;
  RESULT_DEGREE[8][ed::Mediocre] = 3;
  RESULT_DEGREE[8][ed::Average] = 8;
  RESULT_DEGREE[8][ed::Good] = 13;
  RESULT_DEGREE[8][ed::Excellent] = 16;
  RESULT_DEGREE[8][ed::Extraordinary] = 20;
  RESULT_DEGREE[9][ed::Pathetic] = 1;
  RESULT_DEGREE[9][ed::Mediocre] = 4;
  RESULT_DEGREE[9][ed::Average] = 9;
  RESULT_DEGREE[9][ed::Good] = 14;
  RESULT_DEGREE[9][ed::Excellent] = 18;
  RESULT_DEGREE[9][ed::Extraordinary] = 22;
  RESULT_DEGREE[10][ed::Pathetic] = 1;
  RESULT_DEGREE[10][ed::Mediocre] = 5;
  RESULT_DEGREE[10][ed::Average] = 10;
  RESULT_DEGREE[10][ed::Good] = 15;
  RESULT_DEGREE[10][ed::Excellent] = 19;
  RESULT_DEGREE[10][ed::Extraordinary] = 24;
  RESULT_DEGREE[11][ed::Pathetic] = 1;
  RESULT_DEGREE[11][ed::Mediocre] = 5;
  RESULT_DEGREE[11][ed::Average] = 11;
  RESULT_DEGREE[11][ed::Good] = 17;
  RESULT_DEGREE[11][ed::Excellent] = 21;
  RESULT_DEGREE[11][ed::Extraordinary] = 25;
  RESULT_DEGREE[12][ed::Pathetic] = 1;
  RESULT_DEGREE[12][ed::Mediocre] = 6;
  RESULT_DEGREE[12][ed::Average] = 12;
  RESULT_DEGREE[12][ed::Good] = 18;
  RESULT_DEGREE[12][ed::Excellent] = 22;
  RESULT_DEGREE[12][ed::Extraordinary] = 27;
  RESULT_DEGREE[13][ed::Pathetic] = 1;
  RESULT_DEGREE[13][ed::Mediocre] = 6;
  RESULT_DEGREE[13][ed::Average] = 13;
  RESULT_DEGREE[13][ed::Good] = 20;
  RESULT_DEGREE[13][ed::Excellent] = 24;
  RESULT_DEGREE[13][ed::Extraordinary] = 29;
  RESULT_DEGREE[14][ed::Pathetic] = 1;
  RESULT_DEGREE[14][ed::Mediocre] = 7;
  RESULT_DEGREE[14][ed::Average] = 14;
  RESULT_DEGREE[14][ed::Good] = 21;
  RESULT_DEGREE[14][ed::Excellent] = 26;
  RESULT_DEGREE[14][ed::Extraordinary] = 32;
  RESULT_DEGREE[15][ed::Pathetic] = 1;
  RESULT_DEGREE[15][ed::Mediocre] = 8;
  RESULT_DEGREE[15][ed::Average] = 15;
  RESULT_DEGREE[15][ed::Good] = 22;
  RESULT_DEGREE[15][ed::Excellent] = 27;
  RESULT_DEGREE[15][ed::Extraordinary] = 33;
  RESULT_DEGREE[16][ed::Pathetic] = 1;
  RESULT_DEGREE[16][ed::Mediocre] = 8;
  RESULT_DEGREE[16][ed::Average] = 16;
  RESULT_DEGREE[16][ed::Good] = 24;
  RESULT_DEGREE[16][ed::Excellent] = 29;
  RESULT_DEGREE[16][ed::Extraordinary] = 35;
  RESULT_DEGREE[17][ed::Pathetic] = 1;
  RESULT_DEGREE[17][ed::Mediocre] = 9;
  RESULT_DEGREE[17][ed::Average] = 17;
  RESULT_DEGREE[17][ed::Good] = 25;
  RESULT_DEGREE[17][ed::Excellent] = 30;
  RESULT_DEGREE[17][ed::Extraordinary] = 37;
  RESULT_DEGREE[18][ed::Pathetic] = 1;
  RESULT_DEGREE[18][ed::Mediocre] = 10;
  RESULT_DEGREE[18][ed::Average] = 18;
  RESULT_DEGREE[18][ed::Good] = 26;
  RESULT_DEGREE[18][ed::Excellent] = 32;
  RESULT_DEGREE[18][ed::Extraordinary] = 38;
  RESULT_DEGREE[19][ed::Pathetic] = 1;
  RESULT_DEGREE[19][ed::Mediocre] = 11;
  RESULT_DEGREE[19][ed::Average] = 19;
  RESULT_DEGREE[19][ed::Good] = 27;
  RESULT_DEGREE[19][ed::Excellent] = 33;
  RESULT_DEGREE[19][ed::Extraordinary] = 39;
  RESULT_DEGREE[20][ed::Pathetic] = 1;
  RESULT_DEGREE[20][ed::Mediocre] = 12;
  RESULT_DEGREE[20][ed::Average] = 20;
  RESULT_DEGREE[20][ed::Good] = 28;
  RESULT_DEGREE[20][ed::Excellent] = 34;
  RESULT_DEGREE[20][ed::Extraordinary] = 41;
  RESULT_DEGREE[21][ed::Pathetic] = 1;
  RESULT_DEGREE[21][ed::Mediocre] = 13;
  RESULT_DEGREE[21][ed::Average] = 21;
  RESULT_DEGREE[21][ed::Good] = 29;
  RESULT_DEGREE[21][ed::Excellent] = 35;
  RESULT_DEGREE[21][ed::Extraordinary] = 42;
  RESULT_DEGREE[22][ed::Pathetic] = 1;
  RESULT_DEGREE[22][ed::Mediocre] = 13;
  RESULT_DEGREE[22][ed::Average] = 22;
  RESULT_DEGREE[22][ed::Good] = 31;
  RESULT_DEGREE[22][ed::Excellent] = 37;
  RESULT_DEGREE[22][ed::Extraordinary] = 44;
  RESULT_DEGREE[23][ed::Pathetic] = 1;
  RESULT_DEGREE[23][ed::Mediocre] = 14;
  RESULT_DEGREE[23][ed::Average] = 23;
  RESULT_DEGREE[23][ed::Good] = 32;
  RESULT_DEGREE[23][ed::Excellent] = 38;
  RESULT_DEGREE[23][ed::Extraordinary] = 45;
  RESULT_DEGREE[24][ed::Pathetic] = 1;
  RESULT_DEGREE[24][ed::Mediocre] = 15;
  RESULT_DEGREE[24][ed::Average] = 24;
  RESULT_DEGREE[24][ed::Good] = 33;
  RESULT_DEGREE[24][ed::Excellent] = 40;
  RESULT_DEGREE[24][ed::Extraordinary] = 47;
  RESULT_DEGREE[25][ed::Pathetic] = 1;
  RESULT_DEGREE[25][ed::Mediocre] = 16;
  RESULT_DEGREE[25][ed::Average] = 25;
  RESULT_DEGREE[25][ed::Good] = 34;
  RESULT_DEGREE[25][ed::Excellent] = 41;
  RESULT_DEGREE[25][ed::Extraordinary] = 48;
  RESULT_DEGREE[26][ed::Pathetic] = 1;
  RESULT_DEGREE[26][ed::Mediocre] = 17;
  RESULT_DEGREE[26][ed::Average] = 26;
  RESULT_DEGREE[26][ed::Good] = 35;
  RESULT_DEGREE[26][ed::Excellent] = 42;
  RESULT_DEGREE[26][ed::Extraordinary] = 49;
  RESULT_DEGREE[27][ed::Pathetic] = 1;
  RESULT_DEGREE[27][ed::Mediocre] = 18;
  RESULT_DEGREE[27][ed::Average] = 27;
  RESULT_DEGREE[27][ed::Good] = 36;
  RESULT_DEGREE[27][ed::Excellent] = 43;
  RESULT_DEGREE[27][ed::Extraordinary] = 51;
  RESULT_DEGREE[28][ed::Pathetic] = 1;
  RESULT_DEGREE[28][ed::Mediocre] = 18;
  RESULT_DEGREE[28][ed::Average] = 28;
  RESULT_DEGREE[28][ed::Good] = 38;
  RESULT_DEGREE[28][ed::Excellent] = 45;
  RESULT_DEGREE[28][ed::Extraordinary] = 52;
  RESULT_DEGREE[29][ed::Pathetic] = 1;
  RESULT_DEGREE[29][ed::Mediocre] = 19;
  RESULT_DEGREE[29][ed::Average] = 29;
  RESULT_DEGREE[29][ed::Good] = 39;
  RESULT_DEGREE[29][ed::Excellent] = 46;
  RESULT_DEGREE[29][ed::Extraordinary] = 54;
  RESULT_DEGREE[30][ed::Pathetic] = 1;
  RESULT_DEGREE[30][ed::Mediocre] = 20;
  RESULT_DEGREE[30][ed::Average] = 30;
  RESULT_DEGREE[30][ed::Good] = 40;
  RESULT_DEGREE[30][ed::Excellent] = 47;
  RESULT_DEGREE[30][ed::Extraordinary] = 55;
  RESULT_DEGREE[31][ed::Pathetic] = 1;
  RESULT_DEGREE[31][ed::Mediocre] = 21;
  RESULT_DEGREE[31][ed::Average] = 31;
  RESULT_DEGREE[31][ed::Good] = 41;
  RESULT_DEGREE[31][ed::Excellent] = 48;
  RESULT_DEGREE[31][ed::Extraordinary] = 56;
  RESULT_DEGREE[32][ed::Pathetic] = 1;
  RESULT_DEGREE[32][ed::Mediocre] = 22;
  RESULT_DEGREE[32][ed::Average] = 32;
  RESULT_DEGREE[32][ed::Good] = 42;
  RESULT_DEGREE[32][ed::Excellent] = 49;
  RESULT_DEGREE[32][ed::Extraordinary] = 58;
  RESULT_DEGREE[33][ed::Pathetic] = 1;
  RESULT_DEGREE[33][ed::Mediocre] = 23;
  RESULT_DEGREE[33][ed::Average] = 33;
  RESULT_DEGREE[33][ed::Good] = 43;
  RESULT_DEGREE[33][ed::Excellent] = 51;
  RESULT_DEGREE[33][ed::Extraordinary] = 59;
  RESULT_DEGREE[34][ed::Pathetic] = 1;
  RESULT_DEGREE[34][ed::Mediocre] = 23;
  RESULT_DEGREE[34][ed::Average] = 34;
  RESULT_DEGREE[34][ed::Good] = 45;
  RESULT_DEGREE[34][ed::Excellent] = 52;
  RESULT_DEGREE[34][ed::Extraordinary] = 61;
  RESULT_DEGREE[35][ed::Pathetic] = 1;
  RESULT_DEGREE[35][ed::Mediocre] = 24;
  RESULT_DEGREE[35][ed::Average] = 35;
  RESULT_DEGREE[35][ed::Good] = 46;
  RESULT_DEGREE[35][ed::Excellent] = 53;
  RESULT_DEGREE[35][ed::Extraordinary] = 62;
  RESULT_DEGREE[36][ed::Pathetic] = 1;
  RESULT_DEGREE[36][ed::Mediocre] = 25;
  RESULT_DEGREE[36][ed::Average] = 36;
  RESULT_DEGREE[36][ed::Good] = 47;
  RESULT_DEGREE[36][ed::Excellent] = 55;
  RESULT_DEGREE[36][ed::Extraordinary] = 64;
  RESULT_DEGREE[37][ed::Pathetic] = 1;
  RESULT_DEGREE[37][ed::Mediocre] = 26;
  RESULT_DEGREE[37][ed::Average] = 37;
  RESULT_DEGREE[37][ed::Good] = 48;
  RESULT_DEGREE[37][ed::Excellent] = 56;
  RESULT_DEGREE[37][ed::Extraordinary] = 65;
  RESULT_DEGREE[38][ed::Pathetic] = 1;
  RESULT_DEGREE[38][ed::Mediocre] = 26;
  RESULT_DEGREE[38][ed::Average] = 38;
  RESULT_DEGREE[38][ed::Good] = 50;
  RESULT_DEGREE[38][ed::Excellent] = 58;
  RESULT_DEGREE[38][ed::Extraordinary] = 67;
  RESULT_DEGREE[39][ed::Pathetic] = 1;
  RESULT_DEGREE[39][ed::Mediocre] = 27;
  RESULT_DEGREE[39][ed::Average] = 39;
  RESULT_DEGREE[39][ed::Good] = 51;
  RESULT_DEGREE[39][ed::Excellent] = 59;
  RESULT_DEGREE[39][ed::Extraordinary] = 68;
  RESULT_DEGREE[40][ed::Pathetic] = 1;
  RESULT_DEGREE[40][ed::Mediocre] = 28;
  RESULT_DEGREE[40][ed::Average] = 40;
  RESULT_DEGREE[40][ed::Good] = 52;
  RESULT_DEGREE[40][ed::Excellent] = 60;
  RESULT_DEGREE[40][ed::Extraordinary] = 70;
  RESULT_DEGREE[41][ed::Pathetic] = 0;
  RESULT_DEGREE[41][ed::Mediocre] = 0;
  RESULT_DEGREE[41][ed::Average] = 0;
  RESULT_DEGREE[41][ed::Good] = 53;
  RESULT_DEGREE[41][ed::Excellent] = 0;
  RESULT_DEGREE[41][ed::Extraordinary] = 71;
  RESULT_DEGREE[42][ed::Pathetic] = 0;
  RESULT_DEGREE[42][ed::Mediocre] = 0;
  RESULT_DEGREE[42][ed::Average] = 0;
  RESULT_DEGREE[42][ed::Good] = 54;
  RESULT_DEGREE[42][ed::Excellent] = 0;
  RESULT_DEGREE[42][ed::Extraordinary] = 72;
  RESULT_DEGREE[43][ed::Pathetic] = 0;
  RESULT_DEGREE[43][ed::Mediocre] = 0;
  RESULT_DEGREE[43][ed::Average] = 0;
  RESULT_DEGREE[43][ed::Good] = 55;
  RESULT_DEGREE[43][ed::Excellent] = 0;
  RESULT_DEGREE[43][ed::Extraordinary] = 73;
  RESULT_DEGREE[44][ed::Pathetic] = 0;
  RESULT_DEGREE[44][ed::Mediocre] = 0;
  RESULT_DEGREE[44][ed::Average] = 0;
  RESULT_DEGREE[44][ed::Good] = 56;
  RESULT_DEGREE[44][ed::Excellent] = 0;
  RESULT_DEGREE[44][ed::Extraordinary] = 75;
  RESULT_DEGREE[45][ed::Pathetic] = 0;
  RESULT_DEGREE[45][ed::Mediocre] = 0;
  RESULT_DEGREE[45][ed::Average] = 0;
  RESULT_DEGREE[45][ed::Good] = 58;
  RESULT_DEGREE[45][ed::Excellent] = 0;
  RESULT_DEGREE[45][ed::Extraordinary] = 77;
  RESULT_DEGREE[46][ed::Pathetic] = 0;
  RESULT_DEGREE[46][ed::Mediocre] = 0;
  RESULT_DEGREE[46][ed::Average] = 0;
  RESULT_DEGREE[46][ed::Good] = 59;
  RESULT_DEGREE[46][ed::Excellent] = 0;
  RESULT_DEGREE[46][ed::Extraordinary] = 78;
  RESULT_DEGREE[47][ed::Pathetic] = 0;
  RESULT_DEGREE[47][ed::Mediocre] = 0;
  RESULT_DEGREE[47][ed::Average] = 0;
  RESULT_DEGREE[47][ed::Good] = 60;
  RESULT_DEGREE[47][ed::Excellent] = 0;
  RESULT_DEGREE[47][ed::Extraordinary] = 79;
  RESULT_DEGREE[48][ed::Pathetic] = 0;
  RESULT_DEGREE[48][ed::Mediocre] = 0;
  RESULT_DEGREE[48][ed::Average] = 0;
  RESULT_DEGREE[48][ed::Good] = 61;
  RESULT_DEGREE[48][ed::Excellent] = 0;
  RESULT_DEGREE[48][ed::Extraordinary] = 80;
  RESULT_DEGREE[49][ed::Pathetic] = 0;
  RESULT_DEGREE[49][ed::Mediocre] = 0;
  RESULT_DEGREE[49][ed::Average] = 0;
  RESULT_DEGREE[49][ed::Good] = 62;
  RESULT_DEGREE[49][ed::Excellent] = 0;
  RESULT_DEGREE[49][ed::Extraordinary] = 81;
  RESULT_DEGREE[50][ed::Pathetic] = 0;
  RESULT_DEGREE[50][ed::Mediocre] = 0;
  RESULT_DEGREE[50][ed::Average] = 0;
  RESULT_DEGREE[50][ed::Good] = 63;
  RESULT_DEGREE[50][ed::Excellent] = 0;

  CHARACTERISTICS.resize(101);
  CHARACTERISTICS[1][ed::Char_Initiative] = 2;CHARACTERISTICS[1][ed::Char_PhysicalDefense] = 2; CHARACTERISTICS[1][ed::Char_MagicDefense] = 2; CHARACTERISTICS[1][ed::Char_SocialDefense] = 2; CHARACTERISTICS[1][ed::Char_WalkSpeed] = 6; CHARACTERISTICS[1][ed::Char_RunSpeed] = 12; CHARACTERISTICS[1][ed::Char_CarryCapacity] = 3; CHARACTERISTICS[1][ed::Char_LiftCapacity] = 5; CHARACTERISTICS[1][ed::Char_Death] = 19; CHARACTERISTICS[1][ed::Char_Uncounciousness] = 10; CHARACTERISTICS[1][ed::Char_Injury] = 3; CHARACTERISTICS[1][ed::Char_RecuperationCount] = 0; CHARACTERISTICS[1][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[2][ed::Char_Initiative] = 2;CHARACTERISTICS[2][ed::Char_PhysicalDefense] = 3; CHARACTERISTICS[2][ed::Char_MagicDefense] = 3; CHARACTERISTICS[2][ed::Char_SocialDefense] = 3; CHARACTERISTICS[2][ed::Char_WalkSpeed] = 7; CHARACTERISTICS[2][ed::Char_RunSpeed] = 14; CHARACTERISTICS[2][ed::Char_CarryCapacity] = 5; CHARACTERISTICS[2][ed::Char_LiftCapacity] = 10; CHARACTERISTICS[2][ed::Char_Death] = 20; CHARACTERISTICS[2][ed::Char_Uncounciousness] = 11; CHARACTERISTICS[2][ed::Char_Injury] = 4; CHARACTERISTICS[2][ed::Char_RecuperationCount] = 0; CHARACTERISTICS[2][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[3][ed::Char_Initiative] = 2;CHARACTERISTICS[3][ed::Char_PhysicalDefense] = 3; CHARACTERISTICS[3][ed::Char_MagicDefense] = 3; CHARACTERISTICS[3][ed::Char_SocialDefense] = 3; CHARACTERISTICS[3][ed::Char_WalkSpeed] = 8; CHARACTERISTICS[3][ed::Char_RunSpeed] = 16; CHARACTERISTICS[3][ed::Char_CarryCapacity] = 8; CHARACTERISTICS[3][ed::Char_LiftCapacity] = 15; CHARACTERISTICS[3][ed::Char_Death] = 22; CHARACTERISTICS[3][ed::Char_Uncounciousness] = 13; CHARACTERISTICS[3][ed::Char_Injury] = 4; CHARACTERISTICS[3][ed::Char_RecuperationCount] = 1; CHARACTERISTICS[3][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[4][ed::Char_Initiative] = 3;CHARACTERISTICS[4][ed::Char_PhysicalDefense] = 4; CHARACTERISTICS[4][ed::Char_MagicDefense] = 4; CHARACTERISTICS[4][ed::Char_SocialDefense] = 4; CHARACTERISTICS[4][ed::Char_WalkSpeed] = 9; CHARACTERISTICS[4][ed::Char_RunSpeed] = 18; CHARACTERISTICS[4][ed::Char_CarryCapacity] = 10; CHARACTERISTICS[4][ed::Char_LiftCapacity] = 20; CHARACTERISTICS[4][ed::Char_Death] = 23; CHARACTERISTICS[4][ed::Char_Uncounciousness] = 14; CHARACTERISTICS[4][ed::Char_Injury] = 5; CHARACTERISTICS[4][ed::Char_RecuperationCount] = 1; CHARACTERISTICS[4][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[5][ed::Char_Initiative] = 3;CHARACTERISTICS[5][ed::Char_PhysicalDefense] = 4; CHARACTERISTICS[5][ed::Char_MagicDefense] = 4; CHARACTERISTICS[5][ed::Char_SocialDefense] = 4; CHARACTERISTICS[5][ed::Char_WalkSpeed] = 10; CHARACTERISTICS[5][ed::Char_RunSpeed] = 20; CHARACTERISTICS[5][ed::Char_CarryCapacity] = 13; CHARACTERISTICS[5][ed::Char_LiftCapacity] = 25; CHARACTERISTICS[5][ed::Char_Death] = 24; CHARACTERISTICS[5][ed::Char_Uncounciousness] = 15; CHARACTERISTICS[5][ed::Char_Injury] = 5; CHARACTERISTICS[5][ed::Char_RecuperationCount] = 1; CHARACTERISTICS[5][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[6][ed::Char_Initiative] = 3;CHARACTERISTICS[6][ed::Char_PhysicalDefense] = 4; CHARACTERISTICS[6][ed::Char_MagicDefense] = 4; CHARACTERISTICS[6][ed::Char_SocialDefense] = 4; CHARACTERISTICS[6][ed::Char_WalkSpeed] = 12; CHARACTERISTICS[6][ed::Char_RunSpeed] = 24; CHARACTERISTICS[6][ed::Char_CarryCapacity] = 15; CHARACTERISTICS[6][ed::Char_LiftCapacity] = 30; CHARACTERISTICS[6][ed::Char_Death] = 26; CHARACTERISTICS[6][ed::Char_Uncounciousness] = 17; CHARACTERISTICS[6][ed::Char_Injury] = 6; CHARACTERISTICS[6][ed::Char_RecuperationCount] = 1; CHARACTERISTICS[6][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[7][ed::Char_Initiative] = 4;CHARACTERISTICS[7][ed::Char_PhysicalDefense] = 5; CHARACTERISTICS[7][ed::Char_MagicDefense] = 5; CHARACTERISTICS[7][ed::Char_SocialDefense] = 5; CHARACTERISTICS[7][ed::Char_WalkSpeed] = 14; CHARACTERISTICS[7][ed::Char_RunSpeed] = 28; CHARACTERISTICS[7][ed::Char_CarryCapacity] = 20; CHARACTERISTICS[7][ed::Char_LiftCapacity] = 40; CHARACTERISTICS[7][ed::Char_Death] = 27; CHARACTERISTICS[7][ed::Char_Uncounciousness] = 18; CHARACTERISTICS[7][ed::Char_Injury] = 6; CHARACTERISTICS[7][ed::Char_RecuperationCount] = 1; CHARACTERISTICS[7][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[8][ed::Char_Initiative] = 4;CHARACTERISTICS[8][ed::Char_PhysicalDefense] = 5; CHARACTERISTICS[8][ed::Char_MagicDefense] = 5; CHARACTERISTICS[8][ed::Char_SocialDefense] = 5; CHARACTERISTICS[8][ed::Char_WalkSpeed] = 16; CHARACTERISTICS[8][ed::Char_RunSpeed] = 32; CHARACTERISTICS[8][ed::Char_CarryCapacity] = 25; CHARACTERISTICS[8][ed::Char_LiftCapacity] = 50; CHARACTERISTICS[8][ed::Char_Death] = 28; CHARACTERISTICS[8][ed::Char_Uncounciousness] = 19; CHARACTERISTICS[8][ed::Char_Injury] = 7; CHARACTERISTICS[8][ed::Char_RecuperationCount] = 2; CHARACTERISTICS[8][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[9][ed::Char_Initiative] = 4;CHARACTERISTICS[9][ed::Char_PhysicalDefense] = 6; CHARACTERISTICS[9][ed::Char_MagicDefense] = 6; CHARACTERISTICS[9][ed::Char_SocialDefense] = 6; CHARACTERISTICS[9][ed::Char_WalkSpeed] = 18; CHARACTERISTICS[9][ed::Char_RunSpeed] = 36; CHARACTERISTICS[9][ed::Char_CarryCapacity] = 30; CHARACTERISTICS[9][ed::Char_LiftCapacity] = 60; CHARACTERISTICS[9][ed::Char_Death] = 30; CHARACTERISTICS[9][ed::Char_Uncounciousness] = 21; CHARACTERISTICS[9][ed::Char_Injury] = 7; CHARACTERISTICS[9][ed::Char_RecuperationCount] = 2; CHARACTERISTICS[9][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[10][ed::Char_Initiative] = 5;CHARACTERISTICS[10][ed::Char_PhysicalDefense] = 6; CHARACTERISTICS[10][ed::Char_MagicDefense] = 6; CHARACTERISTICS[10][ed::Char_SocialDefense] = 6; CHARACTERISTICS[10][ed::Char_WalkSpeed] = 20; CHARACTERISTICS[10][ed::Char_RunSpeed] = 40; CHARACTERISTICS[10][ed::Char_CarryCapacity] = 35; CHARACTERISTICS[10][ed::Char_LiftCapacity] = 70; CHARACTERISTICS[10][ed::Char_Death] = 31; CHARACTERISTICS[10][ed::Char_Uncounciousness] = 22; CHARACTERISTICS[10][ed::Char_Injury] = 8; CHARACTERISTICS[10][ed::Char_RecuperationCount] = 2; CHARACTERISTICS[10][ed::Char_MysticalArmor] = 0;
  CHARACTERISTICS[11][ed::Char_Initiative] = 5;CHARACTERISTICS[11][ed::Char_PhysicalDefense] = 7; CHARACTERISTICS[11][ed::Char_MagicDefense] = 7; CHARACTERISTICS[11][ed::Char_SocialDefense] = 7; CHARACTERISTICS[11][ed::Char_WalkSpeed] = 22; CHARACTERISTICS[11][ed::Char_RunSpeed] = 44; CHARACTERISTICS[11][ed::Char_CarryCapacity] = 40; CHARACTERISTICS[11][ed::Char_LiftCapacity] = 80; CHARACTERISTICS[11][ed::Char_Death] = 32; CHARACTERISTICS[11][ed::Char_Uncounciousness] = 24; CHARACTERISTICS[11][ed::Char_Injury] = 8; CHARACTERISTICS[11][ed::Char_RecuperationCount] = 2; CHARACTERISTICS[11][ed::Char_MysticalArmor] = 1;
  CHARACTERISTICS[12][ed::Char_Initiative] = 5;CHARACTERISTICS[12][ed::Char_PhysicalDefense] = 7; CHARACTERISTICS[12][ed::Char_MagicDefense] = 7; CHARACTERISTICS[12][ed::Char_SocialDefense] = 7; CHARACTERISTICS[12][ed::Char_WalkSpeed] = 24; CHARACTERISTICS[12][ed::Char_RunSpeed] = 48; CHARACTERISTICS[12][ed::Char_CarryCapacity] = 48; CHARACTERISTICS[12][ed::Char_LiftCapacity] = 95; CHARACTERISTICS[12][ed::Char_Death] = 34; CHARACTERISTICS[12][ed::Char_Uncounciousness] = 26; CHARACTERISTICS[12][ed::Char_Injury] = 9; CHARACTERISTICS[12][ed::Char_RecuperationCount] = 2; CHARACTERISTICS[12][ed::Char_MysticalArmor] = 1;
  CHARACTERISTICS[13][ed::Char_Initiative] = 6;CHARACTERISTICS[13][ed::Char_PhysicalDefense] = 7; CHARACTERISTICS[13][ed::Char_MagicDefense] = 7; CHARACTERISTICS[13][ed::Char_SocialDefense] = 7; CHARACTERISTICS[13][ed::Char_WalkSpeed] = 26; CHARACTERISTICS[13][ed::Char_RunSpeed] = 52; CHARACTERISTICS[13][ed::Char_CarryCapacity] = 55; CHARACTERISTICS[13][ed::Char_LiftCapacity] = 110; CHARACTERISTICS[13][ed::Char_Death] = 35; CHARACTERISTICS[13][ed::Char_Uncounciousness] = 27; CHARACTERISTICS[13][ed::Char_Injury] = 9; CHARACTERISTICS[13][ed::Char_RecuperationCount] = 2; CHARACTERISTICS[13][ed::Char_MysticalArmor] = 1;
  CHARACTERISTICS[14][ed::Char_Initiative] = 6;CHARACTERISTICS[14][ed::Char_PhysicalDefense] = 8; CHARACTERISTICS[14][ed::Char_MagicDefense] = 8; CHARACTERISTICS[14][ed::Char_SocialDefense] = 8; CHARACTERISTICS[14][ed::Char_WalkSpeed] = 28; CHARACTERISTICS[14][ed::Char_RunSpeed] = 56; CHARACTERISTICS[14][ed::Char_CarryCapacity] = 63; CHARACTERISTICS[14][ed::Char_LiftCapacity] = 125; CHARACTERISTICS[14][ed::Char_Death] = 36; CHARACTERISTICS[14][ed::Char_Uncounciousness] = 28; CHARACTERISTICS[14][ed::Char_Injury] = 10; CHARACTERISTICS[14][ed::Char_RecuperationCount] = 3; CHARACTERISTICS[14][ed::Char_MysticalArmor] = 2;
  CHARACTERISTICS[15][ed::Char_Initiative] = 6;CHARACTERISTICS[15][ed::Char_PhysicalDefense] = 8; CHARACTERISTICS[15][ed::Char_MagicDefense] = 8; CHARACTERISTICS[15][ed::Char_SocialDefense] = 8; CHARACTERISTICS[15][ed::Char_WalkSpeed] = 30; CHARACTERISTICS[15][ed::Char_RunSpeed] = 60; CHARACTERISTICS[15][ed::Char_CarryCapacity] = 70; CHARACTERISTICS[15][ed::Char_LiftCapacity] = 140; CHARACTERISTICS[15][ed::Char_Death] = 38; CHARACTERISTICS[15][ed::Char_Uncounciousness] = 30; CHARACTERISTICS[15][ed::Char_Injury] = 10; CHARACTERISTICS[15][ed::Char_RecuperationCount] = 3; CHARACTERISTICS[15][ed::Char_MysticalArmor] = 2;
  CHARACTERISTICS[16][ed::Char_Initiative] = 7;CHARACTERISTICS[16][ed::Char_PhysicalDefense] = 9; CHARACTERISTICS[16][ed::Char_MagicDefense] = 9; CHARACTERISTICS[16][ed::Char_SocialDefense] = 9; CHARACTERISTICS[16][ed::Char_WalkSpeed] = 32; CHARACTERISTICS[16][ed::Char_RunSpeed] = 64; CHARACTERISTICS[16][ed::Char_CarryCapacity] = 80; CHARACTERISTICS[16][ed::Char_LiftCapacity] = 160; CHARACTERISTICS[16][ed::Char_Death] = 39; CHARACTERISTICS[16][ed::Char_Uncounciousness] = 31; CHARACTERISTICS[16][ed::Char_Injury] = 11; CHARACTERISTICS[16][ed::Char_RecuperationCount] = 3; CHARACTERISTICS[16][ed::Char_MysticalArmor] = 2;
  CHARACTERISTICS[17][ed::Char_Initiative] = 7;CHARACTERISTICS[17][ed::Char_PhysicalDefense] = 9; CHARACTERISTICS[17][ed::Char_MagicDefense] = 9; CHARACTERISTICS[17][ed::Char_SocialDefense] = 9; CHARACTERISTICS[17][ed::Char_WalkSpeed] = 34; CHARACTERISTICS[17][ed::Char_RunSpeed] = 68; CHARACTERISTICS[17][ed::Char_CarryCapacity] = 90; CHARACTERISTICS[17][ed::Char_LiftCapacity] = 180; CHARACTERISTICS[17][ed::Char_Death] = 40; CHARACTERISTICS[17][ed::Char_Uncounciousness] = 32; CHARACTERISTICS[17][ed::Char_Injury] = 11; CHARACTERISTICS[17][ed::Char_RecuperationCount] = 3; CHARACTERISTICS[17][ed::Char_MysticalArmor] = 3;
  CHARACTERISTICS[18][ed::Char_Initiative] = 7;CHARACTERISTICS[18][ed::Char_PhysicalDefense] = 10; CHARACTERISTICS[18][ed::Char_MagicDefense] = 10; CHARACTERISTICS[18][ed::Char_SocialDefense] = 10; CHARACTERISTICS[18][ed::Char_WalkSpeed] = 36; CHARACTERISTICS[18][ed::Char_RunSpeed] = 72; CHARACTERISTICS[18][ed::Char_CarryCapacity] = 100; CHARACTERISTICS[18][ed::Char_LiftCapacity] = 200; CHARACTERISTICS[18][ed::Char_Death] = 42; CHARACTERISTICS[18][ed::Char_Uncounciousness] = 34; CHARACTERISTICS[18][ed::Char_Injury] = 12; CHARACTERISTICS[18][ed::Char_RecuperationCount] = 3; CHARACTERISTICS[18][ed::Char_MysticalArmor] = 3;
  CHARACTERISTICS[19][ed::Char_Initiative] = 8;CHARACTERISTICS[19][ed::Char_PhysicalDefense] = 10; CHARACTERISTICS[19][ed::Char_MagicDefense] = 10; CHARACTERISTICS[19][ed::Char_SocialDefense] = 10; CHARACTERISTICS[19][ed::Char_WalkSpeed] = 38; CHARACTERISTICS[19][ed::Char_RunSpeed] = 76; CHARACTERISTICS[19][ed::Char_CarryCapacity] = 115; CHARACTERISTICS[19][ed::Char_LiftCapacity] = 230; CHARACTERISTICS[19][ed::Char_Death] = 43; CHARACTERISTICS[19][ed::Char_Uncounciousness] = 35; CHARACTERISTICS[19][ed::Char_Injury] = 12; CHARACTERISTICS[19][ed::Char_RecuperationCount] = 3; CHARACTERISTICS[19][ed::Char_MysticalArmor] = 3;
  CHARACTERISTICS[20][ed::Char_Initiative] = 8;CHARACTERISTICS[20][ed::Char_PhysicalDefense] = 10; CHARACTERISTICS[20][ed::Char_MagicDefense] = 10; CHARACTERISTICS[20][ed::Char_SocialDefense] = 10; CHARACTERISTICS[20][ed::Char_WalkSpeed] = 40; CHARACTERISTICS[20][ed::Char_RunSpeed] = 80; CHARACTERISTICS[20][ed::Char_CarryCapacity] = 130; CHARACTERISTICS[20][ed::Char_LiftCapacity] = 260; CHARACTERISTICS[20][ed::Char_Death] = 44; CHARACTERISTICS[20][ed::Char_Uncounciousness] = 36; CHARACTERISTICS[20][ed::Char_Injury] = 13; CHARACTERISTICS[20][ed::Char_RecuperationCount] = 4; CHARACTERISTICS[20][ed::Char_MysticalArmor] = 4;
  CHARACTERISTICS[21][ed::Char_Initiative] = 8;CHARACTERISTICS[21][ed::Char_PhysicalDefense] = 11; CHARACTERISTICS[21][ed::Char_MagicDefense] = 11; CHARACTERISTICS[21][ed::Char_SocialDefense] = 11; CHARACTERISTICS[21][ed::Char_WalkSpeed] = 43; CHARACTERISTICS[21][ed::Char_RunSpeed] = 86; CHARACTERISTICS[21][ed::Char_CarryCapacity] = 145; CHARACTERISTICS[21][ed::Char_LiftCapacity] = 290; CHARACTERISTICS[21][ed::Char_Death] = 46; CHARACTERISTICS[21][ed::Char_Uncounciousness] = 39; CHARACTERISTICS[21][ed::Char_Injury] = 13; CHARACTERISTICS[21][ed::Char_RecuperationCount] = 4; CHARACTERISTICS[21][ed::Char_MysticalArmor] = 4;
  CHARACTERISTICS[22][ed::Char_Initiative] = 9;CHARACTERISTICS[22][ed::Char_PhysicalDefense] = 11; CHARACTERISTICS[22][ed::Char_MagicDefense] = 11; CHARACTERISTICS[22][ed::Char_SocialDefense] = 11; CHARACTERISTICS[22][ed::Char_WalkSpeed] = 46; CHARACTERISTICS[22][ed::Char_RunSpeed] = 92; CHARACTERISTICS[22][ed::Char_CarryCapacity] = 165; CHARACTERISTICS[22][ed::Char_LiftCapacity] = 330; CHARACTERISTICS[22][ed::Char_Death] = 47; CHARACTERISTICS[22][ed::Char_Uncounciousness] = 40; CHARACTERISTICS[22][ed::Char_Injury] = 13; CHARACTERISTICS[22][ed::Char_RecuperationCount] = 4; CHARACTERISTICS[22][ed::Char_MysticalArmor] = 4;
  CHARACTERISTICS[23][ed::Char_Initiative] = 9;CHARACTERISTICS[23][ed::Char_PhysicalDefense] = 12; CHARACTERISTICS[23][ed::Char_MagicDefense] = 12; CHARACTERISTICS[23][ed::Char_SocialDefense] = 12; CHARACTERISTICS[23][ed::Char_WalkSpeed] = 49; CHARACTERISTICS[23][ed::Char_RunSpeed] = 98; CHARACTERISTICS[23][ed::Char_CarryCapacity] = 185; CHARACTERISTICS[23][ed::Char_LiftCapacity] = 370; CHARACTERISTICS[23][ed::Char_Death] = 48; CHARACTERISTICS[23][ed::Char_Uncounciousness] = 41; CHARACTERISTICS[23][ed::Char_Injury] = 14; CHARACTERISTICS[23][ed::Char_RecuperationCount] = 4; CHARACTERISTICS[23][ed::Char_MysticalArmor] = 5;
  CHARACTERISTICS[24][ed::Char_Initiative] = 9;CHARACTERISTICS[24][ed::Char_PhysicalDefense] = 12; CHARACTERISTICS[24][ed::Char_MagicDefense] = 12; CHARACTERISTICS[24][ed::Char_SocialDefense] = 12; CHARACTERISTICS[24][ed::Char_WalkSpeed] = 52; CHARACTERISTICS[24][ed::Char_RunSpeed] = 104; CHARACTERISTICS[24][ed::Char_CarryCapacity] = 205; CHARACTERISTICS[24][ed::Char_LiftCapacity] = 410; CHARACTERISTICS[24][ed::Char_Death] = 50; CHARACTERISTICS[24][ed::Char_Uncounciousness] = 43; CHARACTERISTICS[24][ed::Char_Injury] = 14; CHARACTERISTICS[24][ed::Char_RecuperationCount] = 4; CHARACTERISTICS[24][ed::Char_MysticalArmor] = 5;
  CHARACTERISTICS[25][ed::Char_Initiative] = 10;CHARACTERISTICS[25][ed::Char_PhysicalDefense] = 13; CHARACTERISTICS[25][ed::Char_MagicDefense] = 13; CHARACTERISTICS[25][ed::Char_SocialDefense] = 13; CHARACTERISTICS[25][ed::Char_WalkSpeed] = 55; CHARACTERISTICS[25][ed::Char_RunSpeed] = 110; CHARACTERISTICS[25][ed::Char_CarryCapacity] = 230; CHARACTERISTICS[25][ed::Char_LiftCapacity] = 460; CHARACTERISTICS[25][ed::Char_Death] = 51; CHARACTERISTICS[25][ed::Char_Uncounciousness] = 44; CHARACTERISTICS[25][ed::Char_Injury] = 15; CHARACTERISTICS[25][ed::Char_RecuperationCount] = 4; CHARACTERISTICS[25][ed::Char_MysticalArmor] = 5;
  CHARACTERISTICS[26][ed::Char_Initiative] = 10;CHARACTERISTICS[26][ed::Char_PhysicalDefense] = 13; CHARACTERISTICS[26][ed::Char_MagicDefense] = 13; CHARACTERISTICS[26][ed::Char_SocialDefense] = 13; CHARACTERISTICS[26][ed::Char_WalkSpeed] = 58; CHARACTERISTICS[26][ed::Char_RunSpeed] = 116; CHARACTERISTICS[26][ed::Char_CarryCapacity] = 255; CHARACTERISTICS[26][ed::Char_LiftCapacity] = 510; CHARACTERISTICS[26][ed::Char_Death] = 52; CHARACTERISTICS[26][ed::Char_Uncounciousness] = 45; CHARACTERISTICS[26][ed::Char_Injury] = 15; CHARACTERISTICS[26][ed::Char_RecuperationCount] = 5; CHARACTERISTICS[26][ed::Char_MysticalArmor] = 6;
  CHARACTERISTICS[27][ed::Char_Initiative] = 10;CHARACTERISTICS[27][ed::Char_PhysicalDefense] = 13; CHARACTERISTICS[27][ed::Char_MagicDefense] = 13; CHARACTERISTICS[27][ed::Char_SocialDefense] = 13; CHARACTERISTICS[27][ed::Char_WalkSpeed] = 61; CHARACTERISTICS[27][ed::Char_RunSpeed] = 122; CHARACTERISTICS[27][ed::Char_CarryCapacity] = 280; CHARACTERISTICS[27][ed::Char_LiftCapacity] = 560; CHARACTERISTICS[27][ed::Char_Death] = 54; CHARACTERISTICS[27][ed::Char_Uncounciousness] = 47; CHARACTERISTICS[27][ed::Char_Injury] = 15; CHARACTERISTICS[27][ed::Char_RecuperationCount] = 5; CHARACTERISTICS[27][ed::Char_MysticalArmor] = 6;
  CHARACTERISTICS[28][ed::Char_Initiative] = 11;CHARACTERISTICS[28][ed::Char_PhysicalDefense] = 14; CHARACTERISTICS[28][ed::Char_MagicDefense] = 14; CHARACTERISTICS[28][ed::Char_SocialDefense] = 14; CHARACTERISTICS[28][ed::Char_WalkSpeed] = 64; CHARACTERISTICS[28][ed::Char_RunSpeed] = 128; CHARACTERISTICS[28][ed::Char_CarryCapacity] = 310; CHARACTERISTICS[28][ed::Char_LiftCapacity] = 620; CHARACTERISTICS[28][ed::Char_Death] = 55; CHARACTERISTICS[28][ed::Char_Uncounciousness] = 48; CHARACTERISTICS[28][ed::Char_Injury] = 16; CHARACTERISTICS[28][ed::Char_RecuperationCount] = 5; CHARACTERISTICS[28][ed::Char_MysticalArmor] = 6;
  CHARACTERISTICS[29][ed::Char_Initiative] = 11;CHARACTERISTICS[29][ed::Char_PhysicalDefense] = 14; CHARACTERISTICS[29][ed::Char_MagicDefense] = 14; CHARACTERISTICS[29][ed::Char_SocialDefense] = 14; CHARACTERISTICS[29][ed::Char_WalkSpeed] = 67; CHARACTERISTICS[29][ed::Char_RunSpeed] = 134; CHARACTERISTICS[29][ed::Char_CarryCapacity] = 340; CHARACTERISTICS[29][ed::Char_LiftCapacity] = 680; CHARACTERISTICS[29][ed::Char_Death] = 56; CHARACTERISTICS[29][ed::Char_Uncounciousness] = 49; CHARACTERISTICS[29][ed::Char_Injury] = 16; CHARACTERISTICS[29][ed::Char_RecuperationCount] = 5; CHARACTERISTICS[29][ed::Char_MysticalArmor] = 7;
  CHARACTERISTICS[30][ed::Char_Initiative] = 11;CHARACTERISTICS[30][ed::Char_PhysicalDefense] = 15; CHARACTERISTICS[30][ed::Char_MagicDefense] = 15; CHARACTERISTICS[30][ed::Char_SocialDefense] = 15; CHARACTERISTICS[30][ed::Char_WalkSpeed] = 70; CHARACTERISTICS[30][ed::Char_RunSpeed] = 140; CHARACTERISTICS[30][ed::Char_CarryCapacity] = 370; CHARACTERISTICS[30][ed::Char_LiftCapacity] = 740; CHARACTERISTICS[30][ed::Char_Death] = 58; CHARACTERISTICS[30][ed::Char_Uncounciousness] = 51; CHARACTERISTICS[30][ed::Char_Injury] = 17; CHARACTERISTICS[30][ed::Char_RecuperationCount] = 5; CHARACTERISTICS[30][ed::Char_MysticalArmor] = 7;
  CHARACTERISTICS[31][ed::Char_Initiative] = 12;CHARACTERISTICS[31][ed::Char_PhysicalDefense] = 15; CHARACTERISTICS[31][ed::Char_MagicDefense] = 15; CHARACTERISTICS[31][ed::Char_SocialDefense] = 15; CHARACTERISTICS[31][ed::Char_WalkSpeed] = 74; CHARACTERISTICS[31][ed::Char_RunSpeed] = 148; CHARACTERISTICS[31][ed::Char_CarryCapacity] = 410; CHARACTERISTICS[31][ed::Char_LiftCapacity] = 920; CHARACTERISTICS[31][ed::Char_Death] = 59; CHARACTERISTICS[31][ed::Char_Uncounciousness] = 52; CHARACTERISTICS[31][ed::Char_Injury] = 17; CHARACTERISTICS[31][ed::Char_RecuperationCount] = 5; CHARACTERISTICS[31][ed::Char_MysticalArmor] = 7;
  CHARACTERISTICS[32][ed::Char_Initiative] = 12;CHARACTERISTICS[32][ed::Char_PhysicalDefense] = 16; CHARACTERISTICS[32][ed::Char_MagicDefense] = 16; CHARACTERISTICS[32][ed::Char_SocialDefense] = 16; CHARACTERISTICS[32][ed::Char_WalkSpeed] = 78; CHARACTERISTICS[32][ed::Char_RunSpeed] = 156; CHARACTERISTICS[32][ed::Char_CarryCapacity] = 440; CHARACTERISTICS[32][ed::Char_LiftCapacity] = 880; CHARACTERISTICS[32][ed::Char_Death] = 60; CHARACTERISTICS[32][ed::Char_Uncounciousness] = 53; CHARACTERISTICS[32][ed::Char_Injury] = 17; CHARACTERISTICS[32][ed::Char_RecuperationCount] = 6; CHARACTERISTICS[32][ed::Char_MysticalArmor] = 8;
  CHARACTERISTICS[33][ed::Char_Initiative] = 12;CHARACTERISTICS[33][ed::Char_PhysicalDefense] = 16; CHARACTERISTICS[33][ed::Char_MagicDefense] = 16; CHARACTERISTICS[33][ed::Char_SocialDefense] = 16; CHARACTERISTICS[33][ed::Char_WalkSpeed] = 82; CHARACTERISTICS[33][ed::Char_RunSpeed] = 164; CHARACTERISTICS[33][ed::Char_CarryCapacity] = 480; CHARACTERISTICS[33][ed::Char_LiftCapacity] = 960; CHARACTERISTICS[33][ed::Char_Death] = 62; CHARACTERISTICS[33][ed::Char_Uncounciousness] = 55; CHARACTERISTICS[33][ed::Char_Injury] = 18; CHARACTERISTICS[33][ed::Char_RecuperationCount] = 6; CHARACTERISTICS[33][ed::Char_MysticalArmor] = 8;
  CHARACTERISTICS[34][ed::Char_Initiative] = 13;CHARACTERISTICS[34][ed::Char_PhysicalDefense] = 16; CHARACTERISTICS[34][ed::Char_MagicDefense] = 16; CHARACTERISTICS[34][ed::Char_SocialDefense] = 16; CHARACTERISTICS[34][ed::Char_WalkSpeed] = 86; CHARACTERISTICS[34][ed::Char_RunSpeed] = 172; CHARACTERISTICS[34][ed::Char_CarryCapacity] = 520; CHARACTERISTICS[34][ed::Char_LiftCapacity] = 1040; CHARACTERISTICS[34][ed::Char_Death] = 63; CHARACTERISTICS[34][ed::Char_Uncounciousness] = 56; CHARACTERISTICS[34][ed::Char_Injury] = 18; CHARACTERISTICS[34][ed::Char_RecuperationCount] = 6; CHARACTERISTICS[34][ed::Char_MysticalArmor] = 8;
  CHARACTERISTICS[35][ed::Char_Initiative] = 13;CHARACTERISTICS[35][ed::Char_PhysicalDefense] = 17; CHARACTERISTICS[35][ed::Char_MagicDefense] = 17; CHARACTERISTICS[35][ed::Char_SocialDefense] = 17; CHARACTERISTICS[35][ed::Char_WalkSpeed] = 90; CHARACTERISTICS[35][ed::Char_RunSpeed] = 180; CHARACTERISTICS[35][ed::Char_CarryCapacity] = 550; CHARACTERISTICS[35][ed::Char_LiftCapacity] = 1110; CHARACTERISTICS[35][ed::Char_Death] = 64; CHARACTERISTICS[35][ed::Char_Uncounciousness] = 57; CHARACTERISTICS[35][ed::Char_Injury] = 19; CHARACTERISTICS[35][ed::Char_RecuperationCount] = 6; CHARACTERISTICS[35][ed::Char_MysticalArmor] = 9;
  CHARACTERISTICS[36][ed::Char_Initiative] = 13;CHARACTERISTICS[36][ed::Char_PhysicalDefense] = 17; CHARACTERISTICS[36][ed::Char_MagicDefense] = 17; CHARACTERISTICS[36][ed::Char_SocialDefense] = 17; CHARACTERISTICS[36][ed::Char_WalkSpeed] = 94; CHARACTERISTICS[36][ed::Char_RunSpeed] = 188; CHARACTERISTICS[36][ed::Char_CarryCapacity] = 600; CHARACTERISTICS[36][ed::Char_LiftCapacity] = 1200; CHARACTERISTICS[36][ed::Char_Death] = 66; CHARACTERISTICS[36][ed::Char_Uncounciousness] = 59; CHARACTERISTICS[36][ed::Char_Injury] = 19; CHARACTERISTICS[36][ed::Char_RecuperationCount] = 6; CHARACTERISTICS[36][ed::Char_MysticalArmor] = 9;
  CHARACTERISTICS[37][ed::Char_Initiative] = 14;CHARACTERISTICS[37][ed::Char_PhysicalDefense] = 18; CHARACTERISTICS[37][ed::Char_MagicDefense] = 18; CHARACTERISTICS[37][ed::Char_SocialDefense] = 18; CHARACTERISTICS[37][ed::Char_WalkSpeed] = 98; CHARACTERISTICS[37][ed::Char_RunSpeed] = 196; CHARACTERISTICS[37][ed::Char_CarryCapacity] = 650; CHARACTERISTICS[37][ed::Char_LiftCapacity] = 1300; CHARACTERISTICS[37][ed::Char_Death] = 67; CHARACTERISTICS[37][ed::Char_Uncounciousness] = 60; CHARACTERISTICS[37][ed::Char_Injury] = 19; CHARACTERISTICS[37][ed::Char_RecuperationCount] = 6; CHARACTERISTICS[37][ed::Char_MysticalArmor] = 9;
  CHARACTERISTICS[38][ed::Char_Initiative] = 14;CHARACTERISTICS[38][ed::Char_PhysicalDefense] = 18; CHARACTERISTICS[38][ed::Char_MagicDefense] = 18; CHARACTERISTICS[38][ed::Char_SocialDefense] = 18; CHARACTERISTICS[38][ed::Char_WalkSpeed] = 102; CHARACTERISTICS[38][ed::Char_RunSpeed] = 204; CHARACTERISTICS[38][ed::Char_CarryCapacity] = 690; CHARACTERISTICS[38][ed::Char_LiftCapacity] = 1380; CHARACTERISTICS[38][ed::Char_Death] = 68; CHARACTERISTICS[38][ed::Char_Uncounciousness] = 61; CHARACTERISTICS[38][ed::Char_Injury] = 20; CHARACTERISTICS[38][ed::Char_RecuperationCount] = 7; CHARACTERISTICS[38][ed::Char_MysticalArmor] = 10;
  CHARACTERISTICS[39][ed::Char_Initiative] = 14;CHARACTERISTICS[39][ed::Char_PhysicalDefense] = 19; CHARACTERISTICS[39][ed::Char_MagicDefense] = 19; CHARACTERISTICS[39][ed::Char_SocialDefense] = 19; CHARACTERISTICS[39][ed::Char_WalkSpeed] = 106; CHARACTERISTICS[39][ed::Char_RunSpeed] = 212; CHARACTERISTICS[39][ed::Char_CarryCapacity] = 730; CHARACTERISTICS[39][ed::Char_LiftCapacity] = 1460; CHARACTERISTICS[39][ed::Char_Death] = 70; CHARACTERISTICS[39][ed::Char_Uncounciousness] = 63; CHARACTERISTICS[39][ed::Char_Injury] = 20; CHARACTERISTICS[39][ed::Char_RecuperationCount] = 7; CHARACTERISTICS[39][ed::Char_MysticalArmor] = 10;
  CHARACTERISTICS[40][ed::Char_Initiative] = 15;CHARACTERISTICS[40][ed::Char_PhysicalDefense] = 19; CHARACTERISTICS[40][ed::Char_MagicDefense] = 19; CHARACTERISTICS[40][ed::Char_SocialDefense] = 19; CHARACTERISTICS[40][ed::Char_WalkSpeed] = 110; CHARACTERISTICS[40][ed::Char_RunSpeed] = 220; CHARACTERISTICS[40][ed::Char_CarryCapacity] = 755; CHARACTERISTICS[40][ed::Char_LiftCapacity] = 1560; CHARACTERISTICS[40][ed::Char_Death] = 71; CHARACTERISTICS[40][ed::Char_Uncounciousness] = 64; CHARACTERISTICS[40][ed::Char_Injury] = 21; CHARACTERISTICS[40][ed::Char_RecuperationCount] = 7; CHARACTERISTICS[40][ed::Char_MysticalArmor] = 10;
  CHARACTERISTICS[41][ed::Char_Initiative] = 15;CHARACTERISTICS[41][ed::Char_PhysicalDefense] = 19; CHARACTERISTICS[41][ed::Char_MagicDefense] = 19; CHARACTERISTICS[41][ed::Char_SocialDefense] = 19; CHARACTERISTICS[41][ed::Char_WalkSpeed] = 115; CHARACTERISTICS[41][ed::Char_RunSpeed] = 230; CHARACTERISTICS[41][ed::Char_CarryCapacity] = 830; CHARACTERISTICS[41][ed::Char_LiftCapacity] = 1660; CHARACTERISTICS[41][ed::Char_Death] = 72; CHARACTERISTICS[41][ed::Char_Uncounciousness] = 65; CHARACTERISTICS[41][ed::Char_Injury] = 21; CHARACTERISTICS[41][ed::Char_RecuperationCount] = 7; CHARACTERISTICS[41][ed::Char_MysticalArmor] = 11;
  CHARACTERISTICS[42][ed::Char_Initiative] = 15;CHARACTERISTICS[42][ed::Char_PhysicalDefense] = 20; CHARACTERISTICS[42][ed::Char_MagicDefense] = 20; CHARACTERISTICS[42][ed::Char_SocialDefense] = 20; CHARACTERISTICS[42][ed::Char_WalkSpeed] = 120; CHARACTERISTICS[42][ed::Char_RunSpeed] = 240; CHARACTERISTICS[42][ed::Char_CarryCapacity] = 880; CHARACTERISTICS[42][ed::Char_LiftCapacity] = 1760; CHARACTERISTICS[42][ed::Char_Death] = 74; CHARACTERISTICS[42][ed::Char_Uncounciousness] = 67; CHARACTERISTICS[42][ed::Char_Injury] = 21; CHARACTERISTICS[42][ed::Char_RecuperationCount] = 7; CHARACTERISTICS[42][ed::Char_MysticalArmor] = 11;
  CHARACTERISTICS[43][ed::Char_Initiative] = 16;CHARACTERISTICS[43][ed::Char_PhysicalDefense] = 20; CHARACTERISTICS[43][ed::Char_MagicDefense] = 20; CHARACTERISTICS[43][ed::Char_SocialDefense] = 20; CHARACTERISTICS[43][ed::Char_WalkSpeed] = 125; CHARACTERISTICS[43][ed::Char_RunSpeed] = 250; CHARACTERISTICS[43][ed::Char_CarryCapacity] = 940; CHARACTERISTICS[43][ed::Char_LiftCapacity] = 1880; CHARACTERISTICS[43][ed::Char_Death] = 75; CHARACTERISTICS[43][ed::Char_Uncounciousness] = 68; CHARACTERISTICS[43][ed::Char_Injury] = 21; CHARACTERISTICS[43][ed::Char_RecuperationCount] = 7; CHARACTERISTICS[43][ed::Char_MysticalArmor] = 11;
  CHARACTERISTICS[44][ed::Char_Initiative] = 16;CHARACTERISTICS[44][ed::Char_PhysicalDefense] = 21; CHARACTERISTICS[44][ed::Char_MagicDefense] = 21; CHARACTERISTICS[44][ed::Char_SocialDefense] = 21; CHARACTERISTICS[44][ed::Char_WalkSpeed] = 130; CHARACTERISTICS[44][ed::Char_RunSpeed] = 260; CHARACTERISTICS[44][ed::Char_CarryCapacity] = 1000; CHARACTERISTICS[44][ed::Char_LiftCapacity] = 2000; CHARACTERISTICS[44][ed::Char_Death] = 76; CHARACTERISTICS[44][ed::Char_Uncounciousness] = 69; CHARACTERISTICS[44][ed::Char_Injury] = 22; CHARACTERISTICS[44][ed::Char_RecuperationCount] = 8; CHARACTERISTICS[44][ed::Char_MysticalArmor] = 12;
  CHARACTERISTICS[45][ed::Char_Initiative] = 16;CHARACTERISTICS[45][ed::Char_PhysicalDefense] = 21; CHARACTERISTICS[45][ed::Char_MagicDefense] = 21; CHARACTERISTICS[45][ed::Char_SocialDefense] = 21; CHARACTERISTICS[45][ed::Char_WalkSpeed] = 135; CHARACTERISTICS[45][ed::Char_RunSpeed] = 270; CHARACTERISTICS[45][ed::Char_CarryCapacity] = 1050; CHARACTERISTICS[45][ed::Char_LiftCapacity] = 2100; CHARACTERISTICS[45][ed::Char_Death] = 78; CHARACTERISTICS[45][ed::Char_Uncounciousness] = 71; CHARACTERISTICS[45][ed::Char_Injury] = 22; CHARACTERISTICS[45][ed::Char_RecuperationCount] = 8; CHARACTERISTICS[45][ed::Char_MysticalArmor] = 12;
  CHARACTERISTICS[46][ed::Char_Initiative] = 17;CHARACTERISTICS[46][ed::Char_PhysicalDefense] = 22; CHARACTERISTICS[46][ed::Char_MagicDefense] = 22; CHARACTERISTICS[46][ed::Char_SocialDefense] = 22; CHARACTERISTICS[46][ed::Char_WalkSpeed] = 140; CHARACTERISTICS[46][ed::Char_RunSpeed] = 280; CHARACTERISTICS[46][ed::Char_CarryCapacity] = 1110; CHARACTERISTICS[46][ed::Char_LiftCapacity] = 2220; CHARACTERISTICS[46][ed::Char_Death] = 79; CHARACTERISTICS[46][ed::Char_Uncounciousness] = 72; CHARACTERISTICS[46][ed::Char_Injury] = 22; CHARACTERISTICS[46][ed::Char_RecuperationCount] = 8; CHARACTERISTICS[46][ed::Char_MysticalArmor] = 12;
  CHARACTERISTICS[47][ed::Char_Initiative] = 17;CHARACTERISTICS[47][ed::Char_PhysicalDefense] = 22; CHARACTERISTICS[47][ed::Char_MagicDefense] = 22; CHARACTERISTICS[47][ed::Char_SocialDefense] = 22; CHARACTERISTICS[47][ed::Char_WalkSpeed] = 145; CHARACTERISTICS[47][ed::Char_RunSpeed] = 290; CHARACTERISTICS[47][ed::Char_CarryCapacity] = 1200; CHARACTERISTICS[47][ed::Char_LiftCapacity] = 2400; CHARACTERISTICS[47][ed::Char_Death] = 80; CHARACTERISTICS[47][ed::Char_Uncounciousness] = 73; CHARACTERISTICS[47][ed::Char_Injury] = 23; CHARACTERISTICS[47][ed::Char_RecuperationCount] = 8; CHARACTERISTICS[47][ed::Char_MysticalArmor] = 13;
  CHARACTERISTICS[48][ed::Char_Initiative] = 17;CHARACTERISTICS[48][ed::Char_PhysicalDefense] = 22; CHARACTERISTICS[48][ed::Char_MagicDefense] = 22; CHARACTERISTICS[48][ed::Char_SocialDefense] = 22; CHARACTERISTICS[48][ed::Char_WalkSpeed] = 150; CHARACTERISTICS[48][ed::Char_RunSpeed] = 300; CHARACTERISTICS[48][ed::Char_CarryCapacity] = 1250; CHARACTERISTICS[48][ed::Char_LiftCapacity] = 2500; CHARACTERISTICS[48][ed::Char_Death] = 82; CHARACTERISTICS[48][ed::Char_Uncounciousness] = 75; CHARACTERISTICS[48][ed::Char_Injury] = 23; CHARACTERISTICS[48][ed::Char_RecuperationCount] = 8; CHARACTERISTICS[48][ed::Char_MysticalArmor] = 13;
  CHARACTERISTICS[49][ed::Char_Initiative] = 18;CHARACTERISTICS[49][ed::Char_PhysicalDefense] = 23; CHARACTERISTICS[49][ed::Char_MagicDefense] = 23; CHARACTERISTICS[49][ed::Char_SocialDefense] = 23; CHARACTERISTICS[49][ed::Char_WalkSpeed] = 155; CHARACTERISTICS[49][ed::Char_RunSpeed] = 310; CHARACTERISTICS[49][ed::Char_CarryCapacity] = 1300; CHARACTERISTICS[49][ed::Char_LiftCapacity] = 2600; CHARACTERISTICS[49][ed::Char_Death] = 83; CHARACTERISTICS[49][ed::Char_Uncounciousness] = 76; CHARACTERISTICS[49][ed::Char_Injury] = 23; CHARACTERISTICS[49][ed::Char_RecuperationCount] = 8; CHARACTERISTICS[49][ed::Char_MysticalArmor] = 13;
  CHARACTERISTICS[50][ed::Char_Initiative] = 18;CHARACTERISTICS[50][ed::Char_PhysicalDefense] = 23; CHARACTERISTICS[50][ed::Char_MagicDefense] = 23; CHARACTERISTICS[50][ed::Char_SocialDefense] = 23; CHARACTERISTICS[50][ed::Char_WalkSpeed] = 160; CHARACTERISTICS[50][ed::Char_RunSpeed] = 320; CHARACTERISTICS[50][ed::Char_CarryCapacity] = 1400; CHARACTERISTICS[50][ed::Char_LiftCapacity] = 2800; CHARACTERISTICS[50][ed::Char_Death] = 84; CHARACTERISTICS[50][ed::Char_Uncounciousness] = 77; CHARACTERISTICS[50][ed::Char_Injury] = 23; CHARACTERISTICS[50][ed::Char_RecuperationCount] = 9; CHARACTERISTICS[50][ed::Char_MysticalArmor] = 14;
  CHARACTERISTICS[51][ed::Char_Initiative] = 18;CHARACTERISTICS[51][ed::Char_PhysicalDefense] = 24; CHARACTERISTICS[51][ed::Char_MagicDefense] = 24; CHARACTERISTICS[51][ed::Char_SocialDefense] = 24; CHARACTERISTICS[51][ed::Char_WalkSpeed] = 166; CHARACTERISTICS[51][ed::Char_RunSpeed] = 332; CHARACTERISTICS[51][ed::Char_CarryCapacity] = 1420; CHARACTERISTICS[51][ed::Char_LiftCapacity] = 2840; CHARACTERISTICS[51][ed::Char_Death] = 86; CHARACTERISTICS[51][ed::Char_Uncounciousness] = 80; CHARACTERISTICS[51][ed::Char_Injury] = 24; CHARACTERISTICS[51][ed::Char_RecuperationCount] = 9; CHARACTERISTICS[51][ed::Char_MysticalArmor] = 14;
  CHARACTERISTICS[52][ed::Char_Initiative] = 19;CHARACTERISTICS[52][ed::Char_PhysicalDefense] = 24; CHARACTERISTICS[52][ed::Char_MagicDefense] = 24; CHARACTERISTICS[52][ed::Char_SocialDefense] = 24; CHARACTERISTICS[52][ed::Char_WalkSpeed] = 172; CHARACTERISTICS[52][ed::Char_RunSpeed] = 344; CHARACTERISTICS[52][ed::Char_CarryCapacity] = 1490; CHARACTERISTICS[52][ed::Char_LiftCapacity] = 2980; CHARACTERISTICS[52][ed::Char_Death] = 87; CHARACTERISTICS[52][ed::Char_Uncounciousness] = 81; CHARACTERISTICS[52][ed::Char_Injury] = 24; CHARACTERISTICS[52][ed::Char_RecuperationCount] = 9; CHARACTERISTICS[52][ed::Char_MysticalArmor] = 14;
  CHARACTERISTICS[53][ed::Char_Initiative] = 19;CHARACTERISTICS[53][ed::Char_PhysicalDefense] = 25; CHARACTERISTICS[53][ed::Char_MagicDefense] = 25; CHARACTERISTICS[53][ed::Char_SocialDefense] = 25; CHARACTERISTICS[53][ed::Char_WalkSpeed] = 178; CHARACTERISTICS[53][ed::Char_RunSpeed] = 356; CHARACTERISTICS[53][ed::Char_CarryCapacity] = 1560; CHARACTERISTICS[53][ed::Char_LiftCapacity] = 3120; CHARACTERISTICS[53][ed::Char_Death] = 88; CHARACTERISTICS[53][ed::Char_Uncounciousness] = 82; CHARACTERISTICS[53][ed::Char_Injury] = 24; CHARACTERISTICS[53][ed::Char_RecuperationCount] = 9; CHARACTERISTICS[53][ed::Char_MysticalArmor] = 15;
  CHARACTERISTICS[54][ed::Char_Initiative] = 19;CHARACTERISTICS[54][ed::Char_PhysicalDefense] = 25; CHARACTERISTICS[54][ed::Char_MagicDefense] = 25; CHARACTERISTICS[54][ed::Char_SocialDefense] = 25; CHARACTERISTICS[54][ed::Char_WalkSpeed] = 184; CHARACTERISTICS[54][ed::Char_RunSpeed] = 368; CHARACTERISTICS[54][ed::Char_CarryCapacity] = 1630; CHARACTERISTICS[54][ed::Char_LiftCapacity] = 3260; CHARACTERISTICS[54][ed::Char_Death] = 90; CHARACTERISTICS[54][ed::Char_Uncounciousness] = 84; CHARACTERISTICS[54][ed::Char_Injury] = 25; CHARACTERISTICS[54][ed::Char_RecuperationCount] = 9; CHARACTERISTICS[54][ed::Char_MysticalArmor] = 15;
  CHARACTERISTICS[55][ed::Char_Initiative] = 20;CHARACTERISTICS[55][ed::Char_PhysicalDefense] = 25; CHARACTERISTICS[55][ed::Char_MagicDefense] = 25; CHARACTERISTICS[55][ed::Char_SocialDefense] = 25; CHARACTERISTICS[55][ed::Char_WalkSpeed] = 190; CHARACTERISTICS[55][ed::Char_RunSpeed] = 380; CHARACTERISTICS[55][ed::Char_CarryCapacity] = 1705; CHARACTERISTICS[55][ed::Char_LiftCapacity] = 3410; CHARACTERISTICS[55][ed::Char_Death] = 91; CHARACTERISTICS[55][ed::Char_Uncounciousness] = 85; CHARACTERISTICS[55][ed::Char_Injury] = 25; CHARACTERISTICS[55][ed::Char_RecuperationCount] = 9; CHARACTERISTICS[55][ed::Char_MysticalArmor] = 15;
  CHARACTERISTICS[56][ed::Char_Initiative] = 20;CHARACTERISTICS[56][ed::Char_PhysicalDefense] = 26; CHARACTERISTICS[56][ed::Char_MagicDefense] = 26; CHARACTERISTICS[56][ed::Char_SocialDefense] = 26; CHARACTERISTICS[56][ed::Char_WalkSpeed] = 196; CHARACTERISTICS[56][ed::Char_RunSpeed] = 392; CHARACTERISTICS[56][ed::Char_CarryCapacity] = 1780; CHARACTERISTICS[56][ed::Char_LiftCapacity] = 3560; CHARACTERISTICS[56][ed::Char_Death] = 92; CHARACTERISTICS[56][ed::Char_Uncounciousness] = 86; CHARACTERISTICS[56][ed::Char_Injury] = 25; CHARACTERISTICS[56][ed::Char_RecuperationCount] = 10; CHARACTERISTICS[56][ed::Char_MysticalArmor] = 16;
  CHARACTERISTICS[57][ed::Char_Initiative] = 20;CHARACTERISTICS[57][ed::Char_PhysicalDefense] = 26; CHARACTERISTICS[57][ed::Char_MagicDefense] = 26; CHARACTERISTICS[57][ed::Char_SocialDefense] = 26; CHARACTERISTICS[57][ed::Char_WalkSpeed] = 202; CHARACTERISTICS[57][ed::Char_RunSpeed] = 404; CHARACTERISTICS[57][ed::Char_CarryCapacity] = 1855; CHARACTERISTICS[57][ed::Char_LiftCapacity] = 3710; CHARACTERISTICS[57][ed::Char_Death] = 94; CHARACTERISTICS[57][ed::Char_Uncounciousness] = 88; CHARACTERISTICS[57][ed::Char_Injury] = 25; CHARACTERISTICS[57][ed::Char_RecuperationCount] = 10; CHARACTERISTICS[57][ed::Char_MysticalArmor] = 16;
  CHARACTERISTICS[58][ed::Char_Initiative] = 21;CHARACTERISTICS[58][ed::Char_PhysicalDefense] = 27; CHARACTERISTICS[58][ed::Char_MagicDefense] = 27; CHARACTERISTICS[58][ed::Char_SocialDefense] = 27; CHARACTERISTICS[58][ed::Char_WalkSpeed] = 208; CHARACTERISTICS[58][ed::Char_RunSpeed] = 416; CHARACTERISTICS[58][ed::Char_CarryCapacity] = 1935; CHARACTERISTICS[58][ed::Char_LiftCapacity] = 3870; CHARACTERISTICS[58][ed::Char_Death] = 95; CHARACTERISTICS[58][ed::Char_Uncounciousness] = 89; CHARACTERISTICS[58][ed::Char_Injury] = 26; CHARACTERISTICS[58][ed::Char_RecuperationCount] = 10; CHARACTERISTICS[58][ed::Char_MysticalArmor] = 16;
  CHARACTERISTICS[59][ed::Char_Initiative] = 21;CHARACTERISTICS[59][ed::Char_PhysicalDefense] = 27; CHARACTERISTICS[59][ed::Char_MagicDefense] = 27; CHARACTERISTICS[59][ed::Char_SocialDefense] = 27; CHARACTERISTICS[59][ed::Char_WalkSpeed] = 214; CHARACTERISTICS[59][ed::Char_RunSpeed] = 428; CHARACTERISTICS[59][ed::Char_CarryCapacity] = 2015; CHARACTERISTICS[59][ed::Char_LiftCapacity] = 4030; CHARACTERISTICS[59][ed::Char_Death] = 96; CHARACTERISTICS[59][ed::Char_Uncounciousness] = 90; CHARACTERISTICS[59][ed::Char_Injury] = 26; CHARACTERISTICS[59][ed::Char_RecuperationCount] = 10; CHARACTERISTICS[59][ed::Char_MysticalArmor] = 17;
  CHARACTERISTICS[60][ed::Char_Initiative] = 21;CHARACTERISTICS[60][ed::Char_PhysicalDefense] = 28; CHARACTERISTICS[60][ed::Char_MagicDefense] = 28; CHARACTERISTICS[60][ed::Char_SocialDefense] = 28; CHARACTERISTICS[60][ed::Char_WalkSpeed] = 220; CHARACTERISTICS[60][ed::Char_RunSpeed] = 440; CHARACTERISTICS[60][ed::Char_CarryCapacity] = 2095; CHARACTERISTICS[60][ed::Char_LiftCapacity] = 4190; CHARACTERISTICS[60][ed::Char_Death] = 98; CHARACTERISTICS[60][ed::Char_Uncounciousness] = 92; CHARACTERISTICS[60][ed::Char_Injury] = 26; CHARACTERISTICS[60][ed::Char_RecuperationCount] = 10; CHARACTERISTICS[60][ed::Char_MysticalArmor] = 17;
  CHARACTERISTICS[61][ed::Char_Initiative] = 22;CHARACTERISTICS[61][ed::Char_PhysicalDefense] = 28; CHARACTERISTICS[61][ed::Char_MagicDefense] = 28; CHARACTERISTICS[61][ed::Char_SocialDefense] = 28; CHARACTERISTICS[61][ed::Char_WalkSpeed] = 227; CHARACTERISTICS[61][ed::Char_RunSpeed] = 454; CHARACTERISTICS[61][ed::Char_CarryCapacity] = 2180; CHARACTERISTICS[61][ed::Char_LiftCapacity] = 4360; CHARACTERISTICS[61][ed::Char_Death] = 99; CHARACTERISTICS[61][ed::Char_Uncounciousness] = 93; CHARACTERISTICS[61][ed::Char_Injury] = 27; CHARACTERISTICS[61][ed::Char_RecuperationCount] = 10; CHARACTERISTICS[61][ed::Char_MysticalArmor] = 17;
  CHARACTERISTICS[62][ed::Char_Initiative] = 22;CHARACTERISTICS[62][ed::Char_PhysicalDefense] = 28; CHARACTERISTICS[62][ed::Char_MagicDefense] = 28; CHARACTERISTICS[62][ed::Char_SocialDefense] = 28; CHARACTERISTICS[62][ed::Char_WalkSpeed] = 234; CHARACTERISTICS[62][ed::Char_RunSpeed] = 468; CHARACTERISTICS[62][ed::Char_CarryCapacity] = 2265; CHARACTERISTICS[62][ed::Char_LiftCapacity] = 4530; CHARACTERISTICS[62][ed::Char_Death] = 100; CHARACTERISTICS[62][ed::Char_Uncounciousness] = 94; CHARACTERISTICS[62][ed::Char_Injury] = 27; CHARACTERISTICS[62][ed::Char_RecuperationCount] = 11; CHARACTERISTICS[62][ed::Char_MysticalArmor] = 18;
  CHARACTERISTICS[63][ed::Char_Initiative] = 22;CHARACTERISTICS[63][ed::Char_PhysicalDefense] = 29; CHARACTERISTICS[63][ed::Char_MagicDefense] = 29; CHARACTERISTICS[63][ed::Char_SocialDefense] = 29; CHARACTERISTICS[63][ed::Char_WalkSpeed] = 241; CHARACTERISTICS[63][ed::Char_RunSpeed] = 482; CHARACTERISTICS[63][ed::Char_CarryCapacity] = 2350; CHARACTERISTICS[63][ed::Char_LiftCapacity] = 4700; CHARACTERISTICS[63][ed::Char_Death] = 102; CHARACTERISTICS[63][ed::Char_Uncounciousness] = 96; CHARACTERISTICS[63][ed::Char_Injury] = 27; CHARACTERISTICS[63][ed::Char_RecuperationCount] = 11; CHARACTERISTICS[63][ed::Char_MysticalArmor] = 18;
  CHARACTERISTICS[64][ed::Char_Initiative] = 23;CHARACTERISTICS[64][ed::Char_PhysicalDefense] = 29; CHARACTERISTICS[64][ed::Char_MagicDefense] = 29; CHARACTERISTICS[64][ed::Char_SocialDefense] = 29; CHARACTERISTICS[64][ed::Char_WalkSpeed] = 248; CHARACTERISTICS[64][ed::Char_RunSpeed] = 496; CHARACTERISTICS[64][ed::Char_CarryCapacity] = 2440; CHARACTERISTICS[64][ed::Char_LiftCapacity] = 4880; CHARACTERISTICS[64][ed::Char_Death] = 103; CHARACTERISTICS[64][ed::Char_Uncounciousness] = 97; CHARACTERISTICS[64][ed::Char_Injury] = 27; CHARACTERISTICS[64][ed::Char_RecuperationCount] = 11; CHARACTERISTICS[64][ed::Char_MysticalArmor] = 18;
  CHARACTERISTICS[65][ed::Char_Initiative] = 23;CHARACTERISTICS[65][ed::Char_PhysicalDefense] = 30; CHARACTERISTICS[65][ed::Char_MagicDefense] = 30; CHARACTERISTICS[65][ed::Char_SocialDefense] = 30; CHARACTERISTICS[65][ed::Char_WalkSpeed] = 255; CHARACTERISTICS[65][ed::Char_RunSpeed] = 510; CHARACTERISTICS[65][ed::Char_CarryCapacity] = 2530; CHARACTERISTICS[65][ed::Char_LiftCapacity] = 5060; CHARACTERISTICS[65][ed::Char_Death] = 104; CHARACTERISTICS[65][ed::Char_Uncounciousness] = 98; CHARACTERISTICS[65][ed::Char_Injury] = 27; CHARACTERISTICS[65][ed::Char_RecuperationCount] = 11; CHARACTERISTICS[65][ed::Char_MysticalArmor] = 19;
  CHARACTERISTICS[66][ed::Char_Initiative] = 23;CHARACTERISTICS[66][ed::Char_PhysicalDefense] = 30; CHARACTERISTICS[66][ed::Char_MagicDefense] = 30; CHARACTERISTICS[66][ed::Char_SocialDefense] = 30; CHARACTERISTICS[66][ed::Char_WalkSpeed] = 262; CHARACTERISTICS[66][ed::Char_RunSpeed] = 524; CHARACTERISTICS[66][ed::Char_CarryCapacity] = 2620; CHARACTERISTICS[66][ed::Char_LiftCapacity] = 5240; CHARACTERISTICS[66][ed::Char_Death] = 106; CHARACTERISTICS[66][ed::Char_Uncounciousness] = 100; CHARACTERISTICS[66][ed::Char_Injury] = 28; CHARACTERISTICS[66][ed::Char_RecuperationCount] = 11; CHARACTERISTICS[66][ed::Char_MysticalArmor] = 19;
  CHARACTERISTICS[67][ed::Char_Initiative] = 24;CHARACTERISTICS[67][ed::Char_PhysicalDefense] = 31; CHARACTERISTICS[67][ed::Char_MagicDefense] = 31; CHARACTERISTICS[67][ed::Char_SocialDefense] = 31; CHARACTERISTICS[67][ed::Char_WalkSpeed] = 269; CHARACTERISTICS[67][ed::Char_RunSpeed] = 538; CHARACTERISTICS[67][ed::Char_CarryCapacity] = 2715; CHARACTERISTICS[67][ed::Char_LiftCapacity] = 5430; CHARACTERISTICS[67][ed::Char_Death] = 107; CHARACTERISTICS[67][ed::Char_Uncounciousness] = 101; CHARACTERISTICS[67][ed::Char_Injury] = 28; CHARACTERISTICS[67][ed::Char_RecuperationCount] = 11; CHARACTERISTICS[67][ed::Char_MysticalArmor] = 19;
  CHARACTERISTICS[68][ed::Char_Initiative] = 24;CHARACTERISTICS[68][ed::Char_PhysicalDefense] = 31; CHARACTERISTICS[68][ed::Char_MagicDefense] = 31; CHARACTERISTICS[68][ed::Char_SocialDefense] = 31; CHARACTERISTICS[68][ed::Char_WalkSpeed] = 276; CHARACTERISTICS[68][ed::Char_RunSpeed] = 552; CHARACTERISTICS[68][ed::Char_CarryCapacity] = 2810; CHARACTERISTICS[68][ed::Char_LiftCapacity] = 5620; CHARACTERISTICS[68][ed::Char_Death] = 108; CHARACTERISTICS[68][ed::Char_Uncounciousness] = 102; CHARACTERISTICS[68][ed::Char_Injury] = 28; CHARACTERISTICS[68][ed::Char_RecuperationCount] = 12; CHARACTERISTICS[68][ed::Char_MysticalArmor] = 20;
  CHARACTERISTICS[69][ed::Char_Initiative] = 24;CHARACTERISTICS[69][ed::Char_PhysicalDefense] = 31; CHARACTERISTICS[69][ed::Char_MagicDefense] = 31; CHARACTERISTICS[69][ed::Char_SocialDefense] = 31; CHARACTERISTICS[69][ed::Char_WalkSpeed] = 283; CHARACTERISTICS[69][ed::Char_RunSpeed] = 566; CHARACTERISTICS[69][ed::Char_CarryCapacity] = 2905; CHARACTERISTICS[69][ed::Char_LiftCapacity] = 5810; CHARACTERISTICS[69][ed::Char_Death] = 110; CHARACTERISTICS[69][ed::Char_Uncounciousness] = 104; CHARACTERISTICS[69][ed::Char_Injury] = 28; CHARACTERISTICS[69][ed::Char_RecuperationCount] = 12; CHARACTERISTICS[69][ed::Char_MysticalArmor] = 20;
  CHARACTERISTICS[70][ed::Char_Initiative] = 25;CHARACTERISTICS[70][ed::Char_PhysicalDefense] = 32; CHARACTERISTICS[70][ed::Char_MagicDefense] = 32; CHARACTERISTICS[70][ed::Char_SocialDefense] = 32; CHARACTERISTICS[70][ed::Char_WalkSpeed] = 290; CHARACTERISTICS[70][ed::Char_RunSpeed] = 580; CHARACTERISTICS[70][ed::Char_CarryCapacity] = 3005; CHARACTERISTICS[70][ed::Char_LiftCapacity] = 6010; CHARACTERISTICS[70][ed::Char_Death] = 111; CHARACTERISTICS[70][ed::Char_Uncounciousness] = 105; CHARACTERISTICS[70][ed::Char_Injury] = 29; CHARACTERISTICS[70][ed::Char_RecuperationCount] = 12; CHARACTERISTICS[70][ed::Char_MysticalArmor] = 20;
  CHARACTERISTICS[71][ed::Char_Initiative] = 25;CHARACTERISTICS[71][ed::Char_PhysicalDefense] = 32; CHARACTERISTICS[71][ed::Char_MagicDefense] = 32; CHARACTERISTICS[71][ed::Char_SocialDefense] = 32; CHARACTERISTICS[71][ed::Char_WalkSpeed] = 298; CHARACTERISTICS[71][ed::Char_RunSpeed] = 596; CHARACTERISTICS[71][ed::Char_CarryCapacity] = 3105; CHARACTERISTICS[71][ed::Char_LiftCapacity] = 6210; CHARACTERISTICS[71][ed::Char_Death] = 112; CHARACTERISTICS[71][ed::Char_Uncounciousness] = 106; CHARACTERISTICS[71][ed::Char_Injury] = 29; CHARACTERISTICS[71][ed::Char_RecuperationCount] = 12; CHARACTERISTICS[71][ed::Char_MysticalArmor] = 21;
  CHARACTERISTICS[72][ed::Char_Initiative] = 25;CHARACTERISTICS[72][ed::Char_PhysicalDefense] = 33; CHARACTERISTICS[72][ed::Char_MagicDefense] = 33; CHARACTERISTICS[72][ed::Char_SocialDefense] = 33; CHARACTERISTICS[72][ed::Char_WalkSpeed] = 306; CHARACTERISTICS[72][ed::Char_RunSpeed] = 612; CHARACTERISTICS[72][ed::Char_CarryCapacity] = 3205; CHARACTERISTICS[72][ed::Char_LiftCapacity] = 6410; CHARACTERISTICS[72][ed::Char_Death] = 114; CHARACTERISTICS[72][ed::Char_Uncounciousness] = 108; CHARACTERISTICS[72][ed::Char_Injury] = 29; CHARACTERISTICS[72][ed::Char_RecuperationCount] = 12; CHARACTERISTICS[72][ed::Char_MysticalArmor] = 21;
  CHARACTERISTICS[73][ed::Char_Initiative] = 26;CHARACTERISTICS[73][ed::Char_PhysicalDefense] = 33; CHARACTERISTICS[73][ed::Char_MagicDefense] = 33; CHARACTERISTICS[73][ed::Char_SocialDefense] = 33; CHARACTERISTICS[73][ed::Char_WalkSpeed] = 314; CHARACTERISTICS[73][ed::Char_RunSpeed] = 628; CHARACTERISTICS[73][ed::Char_CarryCapacity] = 3310; CHARACTERISTICS[73][ed::Char_LiftCapacity] = 6620; CHARACTERISTICS[73][ed::Char_Death] = 115; CHARACTERISTICS[73][ed::Char_Uncounciousness] = 109; CHARACTERISTICS[73][ed::Char_Injury] = 29; CHARACTERISTICS[73][ed::Char_RecuperationCount] = 12; CHARACTERISTICS[73][ed::Char_MysticalArmor] = 21;
  CHARACTERISTICS[74][ed::Char_Initiative] = 26;CHARACTERISTICS[74][ed::Char_PhysicalDefense] = 34; CHARACTERISTICS[74][ed::Char_MagicDefense] = 34; CHARACTERISTICS[74][ed::Char_SocialDefense] = 34; CHARACTERISTICS[74][ed::Char_WalkSpeed] = 322; CHARACTERISTICS[74][ed::Char_RunSpeed] = 644; CHARACTERISTICS[74][ed::Char_CarryCapacity] = 3415; CHARACTERISTICS[74][ed::Char_LiftCapacity] = 6830; CHARACTERISTICS[74][ed::Char_Death] = 116; CHARACTERISTICS[74][ed::Char_Uncounciousness] = 110; CHARACTERISTICS[74][ed::Char_Injury] = 29; CHARACTERISTICS[74][ed::Char_RecuperationCount] = 13; CHARACTERISTICS[74][ed::Char_MysticalArmor] = 22;
  CHARACTERISTICS[75][ed::Char_Initiative] = 26;CHARACTERISTICS[75][ed::Char_PhysicalDefense] = 34; CHARACTERISTICS[75][ed::Char_MagicDefense] = 34; CHARACTERISTICS[75][ed::Char_SocialDefense] = 34; CHARACTERISTICS[75][ed::Char_WalkSpeed] = 330; CHARACTERISTICS[75][ed::Char_RunSpeed] = 660; CHARACTERISTICS[75][ed::Char_CarryCapacity] = 3520; CHARACTERISTICS[75][ed::Char_LiftCapacity] = 7040; CHARACTERISTICS[75][ed::Char_Death] = 118; CHARACTERISTICS[75][ed::Char_Uncounciousness] = 112; CHARACTERISTICS[75][ed::Char_Injury] = 30; CHARACTERISTICS[75][ed::Char_RecuperationCount] = 13; CHARACTERISTICS[75][ed::Char_MysticalArmor] = 22;
  CHARACTERISTICS[76][ed::Char_Initiative] = 27;CHARACTERISTICS[76][ed::Char_PhysicalDefense] = 34; CHARACTERISTICS[76][ed::Char_MagicDefense] = 34; CHARACTERISTICS[76][ed::Char_SocialDefense] = 34; CHARACTERISTICS[76][ed::Char_WalkSpeed] = 338; CHARACTERISTICS[76][ed::Char_RunSpeed] = 676; CHARACTERISTICS[76][ed::Char_CarryCapacity] = 3630; CHARACTERISTICS[76][ed::Char_LiftCapacity] = 7260; CHARACTERISTICS[76][ed::Char_Death] = 119; CHARACTERISTICS[76][ed::Char_Uncounciousness] = 113; CHARACTERISTICS[76][ed::Char_Injury] = 30; CHARACTERISTICS[76][ed::Char_RecuperationCount] = 13; CHARACTERISTICS[76][ed::Char_MysticalArmor] = 22;
  CHARACTERISTICS[77][ed::Char_Initiative] = 27;CHARACTERISTICS[77][ed::Char_PhysicalDefense] = 35; CHARACTERISTICS[77][ed::Char_MagicDefense] = 35; CHARACTERISTICS[77][ed::Char_SocialDefense] = 35; CHARACTERISTICS[77][ed::Char_WalkSpeed] = 346; CHARACTERISTICS[77][ed::Char_RunSpeed] = 692; CHARACTERISTICS[77][ed::Char_CarryCapacity] = 3740; CHARACTERISTICS[77][ed::Char_LiftCapacity] = 7480; CHARACTERISTICS[77][ed::Char_Death] = 120; CHARACTERISTICS[77][ed::Char_Uncounciousness] = 114; CHARACTERISTICS[77][ed::Char_Injury] = 30; CHARACTERISTICS[77][ed::Char_RecuperationCount] = 13; CHARACTERISTICS[77][ed::Char_MysticalArmor] = 23;
  CHARACTERISTICS[78][ed::Char_Initiative] = 27;CHARACTERISTICS[78][ed::Char_PhysicalDefense] = 35; CHARACTERISTICS[78][ed::Char_MagicDefense] = 35; CHARACTERISTICS[78][ed::Char_SocialDefense] = 35; CHARACTERISTICS[78][ed::Char_WalkSpeed] = 354; CHARACTERISTICS[78][ed::Char_RunSpeed] = 708; CHARACTERISTICS[78][ed::Char_CarryCapacity] = 3850; CHARACTERISTICS[78][ed::Char_LiftCapacity] = 7700; CHARACTERISTICS[78][ed::Char_Death] = 122; CHARACTERISTICS[78][ed::Char_Uncounciousness] = 116; CHARACTERISTICS[78][ed::Char_Injury] = 30; CHARACTERISTICS[78][ed::Char_RecuperationCount] = 13; CHARACTERISTICS[78][ed::Char_MysticalArmor] = 23;
  CHARACTERISTICS[79][ed::Char_Initiative] = 28;CHARACTERISTICS[79][ed::Char_PhysicalDefense] = 36; CHARACTERISTICS[79][ed::Char_MagicDefense] = 36; CHARACTERISTICS[79][ed::Char_SocialDefense] = 36; CHARACTERISTICS[79][ed::Char_WalkSpeed] = 362; CHARACTERISTICS[79][ed::Char_RunSpeed] = 724; CHARACTERISTICS[79][ed::Char_CarryCapacity] = 3965; CHARACTERISTICS[79][ed::Char_LiftCapacity] = 7930; CHARACTERISTICS[79][ed::Char_Death] = 123; CHARACTERISTICS[79][ed::Char_Uncounciousness] = 117; CHARACTERISTICS[79][ed::Char_Injury] = 31; CHARACTERISTICS[79][ed::Char_RecuperationCount] = 13; CHARACTERISTICS[79][ed::Char_MysticalArmor] = 23;
  CHARACTERISTICS[80][ed::Char_Initiative] = 28;CHARACTERISTICS[80][ed::Char_PhysicalDefense] = 36; CHARACTERISTICS[80][ed::Char_MagicDefense] = 36; CHARACTERISTICS[80][ed::Char_SocialDefense] = 36; CHARACTERISTICS[80][ed::Char_WalkSpeed] = 370; CHARACTERISTICS[80][ed::Char_RunSpeed] = 740; CHARACTERISTICS[80][ed::Char_CarryCapacity] = 4080; CHARACTERISTICS[80][ed::Char_LiftCapacity] = 8160; CHARACTERISTICS[80][ed::Char_Death] = 124; CHARACTERISTICS[80][ed::Char_Uncounciousness] = 118; CHARACTERISTICS[80][ed::Char_Injury] = 31; CHARACTERISTICS[80][ed::Char_RecuperationCount] = 14; CHARACTERISTICS[80][ed::Char_MysticalArmor] = 24;
  CHARACTERISTICS[81][ed::Char_Initiative] = 28;CHARACTERISTICS[81][ed::Char_PhysicalDefense] = 37; CHARACTERISTICS[81][ed::Char_MagicDefense] = 37; CHARACTERISTICS[81][ed::Char_SocialDefense] = 37; CHARACTERISTICS[81][ed::Char_WalkSpeed] = 379; CHARACTERISTICS[81][ed::Char_RunSpeed] = 758; CHARACTERISTICS[81][ed::Char_CarryCapacity] = 4195; CHARACTERISTICS[81][ed::Char_LiftCapacity] = 8390; CHARACTERISTICS[81][ed::Char_Death] = 126; CHARACTERISTICS[81][ed::Char_Uncounciousness] = 120; CHARACTERISTICS[81][ed::Char_Injury] = 31; CHARACTERISTICS[81][ed::Char_RecuperationCount] = 14; CHARACTERISTICS[81][ed::Char_MysticalArmor] = 24;
  CHARACTERISTICS[82][ed::Char_Initiative] = 29;CHARACTERISTICS[82][ed::Char_PhysicalDefense] = 37; CHARACTERISTICS[82][ed::Char_MagicDefense] = 37; CHARACTERISTICS[82][ed::Char_SocialDefense] = 37; CHARACTERISTICS[82][ed::Char_WalkSpeed] = 388; CHARACTERISTICS[82][ed::Char_RunSpeed] = 776; CHARACTERISTICS[82][ed::Char_CarryCapacity] = 4315; CHARACTERISTICS[82][ed::Char_LiftCapacity] = 8630; CHARACTERISTICS[82][ed::Char_Death] = 127; CHARACTERISTICS[82][ed::Char_Uncounciousness] = 121; CHARACTERISTICS[82][ed::Char_Injury] = 31; CHARACTERISTICS[82][ed::Char_RecuperationCount] = 14; CHARACTERISTICS[82][ed::Char_MysticalArmor] = 24;
  CHARACTERISTICS[83][ed::Char_Initiative] = 29;CHARACTERISTICS[83][ed::Char_PhysicalDefense] = 37; CHARACTERISTICS[83][ed::Char_MagicDefense] = 37; CHARACTERISTICS[83][ed::Char_SocialDefense] = 37; CHARACTERISTICS[83][ed::Char_WalkSpeed] = 397; CHARACTERISTICS[83][ed::Char_RunSpeed] = 794; CHARACTERISTICS[83][ed::Char_CarryCapacity] = 4435; CHARACTERISTICS[83][ed::Char_LiftCapacity] = 8870; CHARACTERISTICS[83][ed::Char_Death] = 128; CHARACTERISTICS[83][ed::Char_Uncounciousness] = 122; CHARACTERISTICS[83][ed::Char_Injury] = 31; CHARACTERISTICS[83][ed::Char_RecuperationCount] = 14; CHARACTERISTICS[83][ed::Char_MysticalArmor] = 25;
  CHARACTERISTICS[84][ed::Char_Initiative] = 29;CHARACTERISTICS[84][ed::Char_PhysicalDefense] = 38; CHARACTERISTICS[84][ed::Char_MagicDefense] = 38; CHARACTERISTICS[84][ed::Char_SocialDefense] = 38; CHARACTERISTICS[84][ed::Char_WalkSpeed] = 406; CHARACTERISTICS[84][ed::Char_RunSpeed] = 812; CHARACTERISTICS[84][ed::Char_CarryCapacity] = 4555; CHARACTERISTICS[84][ed::Char_LiftCapacity] = 9110; CHARACTERISTICS[84][ed::Char_Death] = 130; CHARACTERISTICS[84][ed::Char_Uncounciousness] = 124; CHARACTERISTICS[84][ed::Char_Injury] = 32; CHARACTERISTICS[84][ed::Char_RecuperationCount] = 14; CHARACTERISTICS[84][ed::Char_MysticalArmor] = 25;
  CHARACTERISTICS[85][ed::Char_Initiative] = 30;CHARACTERISTICS[85][ed::Char_PhysicalDefense] = 38; CHARACTERISTICS[85][ed::Char_MagicDefense] = 38; CHARACTERISTICS[85][ed::Char_SocialDefense] = 38; CHARACTERISTICS[85][ed::Char_WalkSpeed] = 415; CHARACTERISTICS[85][ed::Char_RunSpeed] = 830; CHARACTERISTICS[85][ed::Char_CarryCapacity] = 4680; CHARACTERISTICS[85][ed::Char_LiftCapacity] = 9360; CHARACTERISTICS[85][ed::Char_Death] = 131; CHARACTERISTICS[85][ed::Char_Uncounciousness] = 125; CHARACTERISTICS[85][ed::Char_Injury] = 32; CHARACTERISTICS[85][ed::Char_RecuperationCount] = 14; CHARACTERISTICS[85][ed::Char_MysticalArmor] = 25;
  CHARACTERISTICS[86][ed::Char_Initiative] = 30;CHARACTERISTICS[86][ed::Char_PhysicalDefense] = 39; CHARACTERISTICS[86][ed::Char_MagicDefense] = 39; CHARACTERISTICS[86][ed::Char_SocialDefense] = 39; CHARACTERISTICS[86][ed::Char_WalkSpeed] = 424; CHARACTERISTICS[86][ed::Char_RunSpeed] = 848; CHARACTERISTICS[86][ed::Char_CarryCapacity] = 4805; CHARACTERISTICS[86][ed::Char_LiftCapacity] = 9610; CHARACTERISTICS[86][ed::Char_Death] = 132; CHARACTERISTICS[86][ed::Char_Uncounciousness] = 126; CHARACTERISTICS[86][ed::Char_Injury] = 32; CHARACTERISTICS[86][ed::Char_RecuperationCount] = 15; CHARACTERISTICS[86][ed::Char_MysticalArmor] = 26;
  CHARACTERISTICS[87][ed::Char_Initiative] = 30;CHARACTERISTICS[87][ed::Char_PhysicalDefense] = 39; CHARACTERISTICS[87][ed::Char_MagicDefense] = 39; CHARACTERISTICS[87][ed::Char_SocialDefense] = 39; CHARACTERISTICS[87][ed::Char_WalkSpeed] = 433; CHARACTERISTICS[87][ed::Char_RunSpeed] = 866; CHARACTERISTICS[87][ed::Char_CarryCapacity] = 4930; CHARACTERISTICS[87][ed::Char_LiftCapacity] = 9860; CHARACTERISTICS[87][ed::Char_Death] = 134; CHARACTERISTICS[87][ed::Char_Uncounciousness] = 128; CHARACTERISTICS[87][ed::Char_Injury] = 32; CHARACTERISTICS[87][ed::Char_RecuperationCount] = 15; CHARACTERISTICS[87][ed::Char_MysticalArmor] = 26;
  CHARACTERISTICS[88][ed::Char_Initiative] = 31;CHARACTERISTICS[88][ed::Char_PhysicalDefense] = 40; CHARACTERISTICS[88][ed::Char_MagicDefense] = 40; CHARACTERISTICS[88][ed::Char_SocialDefense] = 40; CHARACTERISTICS[88][ed::Char_WalkSpeed] = 442; CHARACTERISTICS[88][ed::Char_RunSpeed] = 884; CHARACTERISTICS[88][ed::Char_CarryCapacity] = 5060; CHARACTERISTICS[88][ed::Char_LiftCapacity] = 10120; CHARACTERISTICS[88][ed::Char_Death] = 135; CHARACTERISTICS[88][ed::Char_Uncounciousness] = 129; CHARACTERISTICS[88][ed::Char_Injury] = 33; CHARACTERISTICS[88][ed::Char_RecuperationCount] = 15; CHARACTERISTICS[88][ed::Char_MysticalArmor] = 26;
  CHARACTERISTICS[89][ed::Char_Initiative] = 31;CHARACTERISTICS[89][ed::Char_PhysicalDefense] = 40; CHARACTERISTICS[89][ed::Char_MagicDefense] = 40; CHARACTERISTICS[89][ed::Char_SocialDefense] = 40; CHARACTERISTICS[89][ed::Char_WalkSpeed] = 451; CHARACTERISTICS[89][ed::Char_RunSpeed] = 902; CHARACTERISTICS[89][ed::Char_CarryCapacity] = 5190; CHARACTERISTICS[89][ed::Char_LiftCapacity] = 10380; CHARACTERISTICS[89][ed::Char_Death] = 136; CHARACTERISTICS[89][ed::Char_Uncounciousness] = 130; CHARACTERISTICS[89][ed::Char_Injury] = 33; CHARACTERISTICS[89][ed::Char_RecuperationCount] = 15; CHARACTERISTICS[89][ed::Char_MysticalArmor] = 27;
  CHARACTERISTICS[90][ed::Char_Initiative] = 31;CHARACTERISTICS[90][ed::Char_PhysicalDefense] = 40; CHARACTERISTICS[90][ed::Char_MagicDefense] = 40; CHARACTERISTICS[90][ed::Char_SocialDefense] = 40; CHARACTERISTICS[90][ed::Char_WalkSpeed] = 460; CHARACTERISTICS[90][ed::Char_RunSpeed] = 920; CHARACTERISTICS[90][ed::Char_CarryCapacity] = 5320; CHARACTERISTICS[90][ed::Char_LiftCapacity] = 10640; CHARACTERISTICS[90][ed::Char_Death] = 138; CHARACTERISTICS[90][ed::Char_Uncounciousness] = 132; CHARACTERISTICS[90][ed::Char_Injury] = 33; CHARACTERISTICS[90][ed::Char_RecuperationCount] = 15; CHARACTERISTICS[90][ed::Char_MysticalArmor] = 27;
  CHARACTERISTICS[91][ed::Char_Initiative] = 32;CHARACTERISTICS[91][ed::Char_PhysicalDefense] = 41; CHARACTERISTICS[91][ed::Char_MagicDefense] = 41; CHARACTERISTICS[91][ed::Char_SocialDefense] = 41; CHARACTERISTICS[91][ed::Char_WalkSpeed] = 470; CHARACTERISTICS[91][ed::Char_RunSpeed] = 940; CHARACTERISTICS[91][ed::Char_CarryCapacity] = 5455; CHARACTERISTICS[91][ed::Char_LiftCapacity] = 10910; CHARACTERISTICS[91][ed::Char_Death] = 139; CHARACTERISTICS[91][ed::Char_Uncounciousness] = 133; CHARACTERISTICS[91][ed::Char_Injury] = 33; CHARACTERISTICS[91][ed::Char_RecuperationCount] = 15; CHARACTERISTICS[91][ed::Char_MysticalArmor] = 27;
  CHARACTERISTICS[92][ed::Char_Initiative] = 32;CHARACTERISTICS[92][ed::Char_PhysicalDefense] = 41; CHARACTERISTICS[92][ed::Char_MagicDefense] = 41; CHARACTERISTICS[92][ed::Char_SocialDefense] = 41; CHARACTERISTICS[92][ed::Char_WalkSpeed] = 480; CHARACTERISTICS[92][ed::Char_RunSpeed] = 960; CHARACTERISTICS[92][ed::Char_CarryCapacity] = 5590; CHARACTERISTICS[92][ed::Char_LiftCapacity] = 11180; CHARACTERISTICS[92][ed::Char_Death] = 140; CHARACTERISTICS[92][ed::Char_Uncounciousness] = 134; CHARACTERISTICS[92][ed::Char_Injury] = 33; CHARACTERISTICS[92][ed::Char_RecuperationCount] = 16; CHARACTERISTICS[92][ed::Char_MysticalArmor] = 28;
  CHARACTERISTICS[93][ed::Char_Initiative] = 32;CHARACTERISTICS[93][ed::Char_PhysicalDefense] = 42; CHARACTERISTICS[93][ed::Char_MagicDefense] = 42; CHARACTERISTICS[93][ed::Char_SocialDefense] = 42; CHARACTERISTICS[93][ed::Char_WalkSpeed] = 490; CHARACTERISTICS[93][ed::Char_RunSpeed] = 980; CHARACTERISTICS[93][ed::Char_CarryCapacity] = 5725; CHARACTERISTICS[93][ed::Char_LiftCapacity] = 11450; CHARACTERISTICS[93][ed::Char_Death] = 142; CHARACTERISTICS[93][ed::Char_Uncounciousness] = 136; CHARACTERISTICS[93][ed::Char_Injury] = 34; CHARACTERISTICS[93][ed::Char_RecuperationCount] = 16; CHARACTERISTICS[93][ed::Char_MysticalArmor] = 28;
  CHARACTERISTICS[94][ed::Char_Initiative] = 33;CHARACTERISTICS[94][ed::Char_PhysicalDefense] = 42; CHARACTERISTICS[94][ed::Char_MagicDefense] = 42; CHARACTERISTICS[94][ed::Char_SocialDefense] = 42; CHARACTERISTICS[94][ed::Char_WalkSpeed] = 500; CHARACTERISTICS[94][ed::Char_RunSpeed] = 1000; CHARACTERISTICS[94][ed::Char_CarryCapacity] = 5865; CHARACTERISTICS[94][ed::Char_LiftCapacity] = 11730; CHARACTERISTICS[94][ed::Char_Death] = 143; CHARACTERISTICS[94][ed::Char_Uncounciousness] = 137; CHARACTERISTICS[94][ed::Char_Injury] = 34; CHARACTERISTICS[94][ed::Char_RecuperationCount] = 16; CHARACTERISTICS[94][ed::Char_MysticalArmor] = 28;
  CHARACTERISTICS[95][ed::Char_Initiative] = 33;CHARACTERISTICS[95][ed::Char_PhysicalDefense] = 43; CHARACTERISTICS[95][ed::Char_MagicDefense] = 43; CHARACTERISTICS[95][ed::Char_SocialDefense] = 43; CHARACTERISTICS[95][ed::Char_WalkSpeed] = 510; CHARACTERISTICS[95][ed::Char_RunSpeed] = 1020; CHARACTERISTICS[95][ed::Char_CarryCapacity] = 6005; CHARACTERISTICS[95][ed::Char_LiftCapacity] = 12010; CHARACTERISTICS[95][ed::Char_Death] = 144; CHARACTERISTICS[95][ed::Char_Uncounciousness] = 138; CHARACTERISTICS[95][ed::Char_Injury] = 34; CHARACTERISTICS[95][ed::Char_RecuperationCount] = 16; CHARACTERISTICS[95][ed::Char_MysticalArmor] = 29;
  CHARACTERISTICS[96][ed::Char_Initiative] = 33;CHARACTERISTICS[96][ed::Char_PhysicalDefense] = 43; CHARACTERISTICS[96][ed::Char_MagicDefense] = 43; CHARACTERISTICS[96][ed::Char_SocialDefense] = 43; CHARACTERISTICS[96][ed::Char_WalkSpeed] = 520; CHARACTERISTICS[96][ed::Char_RunSpeed] = 1040; CHARACTERISTICS[96][ed::Char_CarryCapacity] = 6145; CHARACTERISTICS[96][ed::Char_LiftCapacity] = 12290; CHARACTERISTICS[96][ed::Char_Death] = 146; CHARACTERISTICS[96][ed::Char_Uncounciousness] = 140; CHARACTERISTICS[96][ed::Char_Injury] = 34; CHARACTERISTICS[96][ed::Char_RecuperationCount] = 16; CHARACTERISTICS[96][ed::Char_MysticalArmor] = 29;
  CHARACTERISTICS[97][ed::Char_Initiative] = 34;CHARACTERISTICS[97][ed::Char_PhysicalDefense] = 43; CHARACTERISTICS[97][ed::Char_MagicDefense] = 43; CHARACTERISTICS[97][ed::Char_SocialDefense] = 43; CHARACTERISTICS[97][ed::Char_WalkSpeed] = 530; CHARACTERISTICS[97][ed::Char_RunSpeed] = 1060; CHARACTERISTICS[97][ed::Char_CarryCapacity] = 6290; CHARACTERISTICS[97][ed::Char_LiftCapacity] = 12580; CHARACTERISTICS[97][ed::Char_Death] = 147; CHARACTERISTICS[97][ed::Char_Uncounciousness] = 141; CHARACTERISTICS[97][ed::Char_Injury] = 35; CHARACTERISTICS[97][ed::Char_RecuperationCount] = 16; CHARACTERISTICS[97][ed::Char_MysticalArmor] = 29;
  CHARACTERISTICS[98][ed::Char_Initiative] = 34;CHARACTERISTICS[98][ed::Char_PhysicalDefense] = 44; CHARACTERISTICS[98][ed::Char_MagicDefense] = 44; CHARACTERISTICS[98][ed::Char_SocialDefense] = 44; CHARACTERISTICS[98][ed::Char_WalkSpeed] = 540; CHARACTERISTICS[98][ed::Char_RunSpeed] = 1080; CHARACTERISTICS[98][ed::Char_CarryCapacity] = 6435; CHARACTERISTICS[98][ed::Char_LiftCapacity] = 12870; CHARACTERISTICS[98][ed::Char_Death] = 148; CHARACTERISTICS[98][ed::Char_Uncounciousness] = 142; CHARACTERISTICS[98][ed::Char_Injury] = 35; CHARACTERISTICS[98][ed::Char_RecuperationCount] = 17; CHARACTERISTICS[98][ed::Char_MysticalArmor] = 30;
  CHARACTERISTICS[99][ed::Char_Initiative] = 34;CHARACTERISTICS[99][ed::Char_PhysicalDefense] = 44; CHARACTERISTICS[99][ed::Char_MagicDefense] = 44; CHARACTERISTICS[99][ed::Char_SocialDefense] = 44; CHARACTERISTICS[99][ed::Char_WalkSpeed] = 550; CHARACTERISTICS[99][ed::Char_RunSpeed] = 1100; CHARACTERISTICS[99][ed::Char_CarryCapacity] = 6580; CHARACTERISTICS[99][ed::Char_LiftCapacity] = 13160; CHARACTERISTICS[99][ed::Char_Death] = 150; CHARACTERISTICS[99][ed::Char_Uncounciousness] = 144; CHARACTERISTICS[99][ed::Char_Injury] = 35; CHARACTERISTICS[99][ed::Char_RecuperationCount] = 17; CHARACTERISTICS[99][ed::Char_MysticalArmor] = 30;
  CHARACTERISTICS[100][ed::Char_Initiative] = 35;CHARACTERISTICS[100][ed::Char_PhysicalDefense] = 45; CHARACTERISTICS[100][ed::Char_MagicDefense] = 45; CHARACTERISTICS[100][ed::Char_SocialDefense] = 45; CHARACTERISTICS[100][ed::Char_WalkSpeed] = 560; CHARACTERISTICS[100][ed::Char_RunSpeed] = 1120; CHARACTERISTICS[100][ed::Char_CarryCapacity] = 6730; CHARACTERISTICS[100][ed::Char_LiftCapacity] = 13460; CHARACTERISTICS[100][ed::Char_Death] = 151; CHARACTERISTICS[100][ed::Char_Uncounciousness] = 145; CHARACTERISTICS[100][ed::Char_Injury] = 35; CHARACTERISTICS[100][ed::Char_RecuperationCount] = 17; CHARACTERISTICS[100][ed::Char_MysticalArmor] = 30;

  CHARACTERISTIC_ATTRIBUTE[ed::Char_Initiative] = ed::Attr_DEX;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_PhysicalDefense] = ed::Attr_DEX;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_MagicDefense] = ed::Attr_PER;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_SocialDefense] = ed::Attr_CHA;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_WalkSpeed] = ed::Attr_DEX;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_RunSpeed] = ed::Attr_DEX;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_CarryCapacity] = ed::Attr_FOR;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_LiftCapacity] = ed::Attr_FOR;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_Death] = ed::Attr_CON;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_Uncounciousness] = ed::Attr_CON;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_Injury] = ed::Attr_CON;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_RecuperationCount] = ed::Attr_CON;
  CHARACTERISTIC_ATTRIBUTE[ed::Char_MysticalArmor] = ed::Attr_VOL;

  RACIAL_MODIFIERS[ed::Race_Elfe][ed::Attr_DEX] = 2;
  RACIAL_MODIFIERS[ed::Race_Elfe][ed::Attr_FOR] = 0;
  RACIAL_MODIFIERS[ed::Race_Elfe][ed::Attr_CON] = -2;
  RACIAL_MODIFIERS[ed::Race_Elfe][ed::Attr_PER] = 1;
  RACIAL_MODIFIERS[ed::Race_Elfe][ed::Attr_VOL] = 1;
  RACIAL_MODIFIERS[ed::Race_Elfe][ed::Attr_CHA] = 1;
  RACIAL_MODIFIERS[ed::Race_Humain][ed::Attr_DEX] = 0;
  RACIAL_MODIFIERS[ed::Race_Humain][ed::Attr_FOR] = 0;
  RACIAL_MODIFIERS[ed::Race_Humain][ed::Attr_CON] = 0;
  RACIAL_MODIFIERS[ed::Race_Humain][ed::Attr_PER] = 0;
  RACIAL_MODIFIERS[ed::Race_Humain][ed::Attr_VOL] = 0;
  RACIAL_MODIFIERS[ed::Race_Humain][ed::Attr_CHA] = 0;
  RACIAL_MODIFIERS[ed::Race_Nain][ed::Attr_DEX] = 0;
  RACIAL_MODIFIERS[ed::Race_Nain][ed::Attr_FOR] = 2;
  RACIAL_MODIFIERS[ed::Race_Nain][ed::Attr_CON] = 3;
  RACIAL_MODIFIERS[ed::Race_Nain][ed::Attr_PER] = 0;
  RACIAL_MODIFIERS[ed::Race_Nain][ed::Attr_VOL] = 0;
  RACIAL_MODIFIERS[ed::Race_Nain][ed::Attr_CHA] = -2;
  RACIAL_MODIFIERS[ed::Race_Obsidien][ed::Attr_DEX] = -2;
  RACIAL_MODIFIERS[ed::Race_Obsidien][ed::Attr_FOR] = +6;
  RACIAL_MODIFIERS[ed::Race_Obsidien][ed::Attr_CON] = +4;
  RACIAL_MODIFIERS[ed::Race_Obsidien][ed::Attr_PER] = -1;
  RACIAL_MODIFIERS[ed::Race_Obsidien][ed::Attr_VOL] = 0;
  RACIAL_MODIFIERS[ed::Race_Obsidien][ed::Attr_CHA] = -1;
  RACIAL_MODIFIERS[ed::Race_Ork][ed::Attr_DEX] = 0;
  RACIAL_MODIFIERS[ed::Race_Ork][ed::Attr_FOR] = 3;
  RACIAL_MODIFIERS[ed::Race_Ork][ed::Attr_CON] = 1;
  RACIAL_MODIFIERS[ed::Race_Ork][ed::Attr_PER] = 0;
  RACIAL_MODIFIERS[ed::Race_Ork][ed::Attr_VOL] = -2;
  RACIAL_MODIFIERS[ed::Race_Ork][ed::Attr_CHA] = -1;
  RACIAL_MODIFIERS[ed::Race_Sylphelin][ed::Attr_DEX] = 1;
  RACIAL_MODIFIERS[ed::Race_Sylphelin][ed::Attr_FOR] = -4;
  RACIAL_MODIFIERS[ed::Race_Sylphelin][ed::Attr_CON] = -3;
  RACIAL_MODIFIERS[ed::Race_Sylphelin][ed::Attr_PER] = 1;
  RACIAL_MODIFIERS[ed::Race_Sylphelin][ed::Attr_VOL] = 0;
  RACIAL_MODIFIERS[ed::Race_Sylphelin][ed::Attr_CHA] = 2;
  RACIAL_MODIFIERS[ed::Race_Troll][ed::Attr_DEX] = 0;
  RACIAL_MODIFIERS[ed::Race_Troll][ed::Attr_FOR] = 4;
  RACIAL_MODIFIERS[ed::Race_Troll][ed::Attr_CON] = 2;
  RACIAL_MODIFIERS[ed::Race_Troll][ed::Attr_PER] = -1;
  RACIAL_MODIFIERS[ed::Race_Troll][ed::Attr_VOL] = 1;
  RACIAL_MODIFIERS[ed::Race_Troll][ed::Attr_CHA] = 0;
  RACIAL_MODIFIERS[ed::Race_Tskrang][ed::Attr_DEX] = 1;
  RACIAL_MODIFIERS[ed::Race_Tskrang][ed::Attr_FOR] = 0;
  RACIAL_MODIFIERS[ed::Race_Tskrang][ed::Attr_CON] = 1;
  RACIAL_MODIFIERS[ed::Race_Tskrang][ed::Attr_PER] = 0;
  RACIAL_MODIFIERS[ed::Race_Tskrang][ed::Attr_VOL] = 0;
  RACIAL_MODIFIERS[ed::Race_Tskrang][ed::Attr_CHA] = 1;

  ATTRIBUTE_COSTS.push_back(0);
  ATTRIBUTE_COSTS.push_back(0);
  ATTRIBUTE_COSTS.push_back(3);
  ATTRIBUTE_COSTS.push_back(2);
  ATTRIBUTE_COSTS.push_back(1);
  ATTRIBUTE_COSTS.push_back(0);
  ATTRIBUTE_COSTS.push_back(-1);
  ATTRIBUTE_COSTS.push_back(-2);
  ATTRIBUTE_COSTS.push_back(-3);
  ATTRIBUTE_COSTS.push_back(-4);
  ATTRIBUTE_COSTS.push_back(-5);
  ATTRIBUTE_COSTS.push_back(-6);
  ATTRIBUTE_COSTS.push_back(-8);
  ATTRIBUTE_COSTS.push_back(-10);
  ATTRIBUTE_COSTS.push_back(-13);
  ATTRIBUTE_COSTS.push_back(-16);
  ATTRIBUTE_COSTS.push_back(-19);
  ATTRIBUTE_COSTS.push_back(-21);
  ATTRIBUTE_COSTS.push_back(-23);

  MOVEMENT_DEXTERITY_MODIFIER[ed::Race_Elfe] = 1;
  MOVEMENT_DEXTERITY_MODIFIER[ed::Race_Humain] = 0;
  MOVEMENT_DEXTERITY_MODIFIER[ed::Race_Nain] = -2;
  MOVEMENT_DEXTERITY_MODIFIER[ed::Race_Obsidien] = -3;
  MOVEMENT_DEXTERITY_MODIFIER[ed::Race_Ork] = 1;
  MOVEMENT_DEXTERITY_MODIFIER[ed::Race_Sylphelin] = -8;
  MOVEMENT_DEXTERITY_MODIFIER[ed::Race_Troll] = 0;
  MOVEMENT_DEXTERITY_MODIFIER[ed::Race_Tskrang] = 0;

  ATTRIBUTE_LEGEND_COST.resize(6);
  ATTRIBUTE_LEGEND_COST[0] = 0;
  ATTRIBUTE_LEGEND_COST[1] = 800;
  ATTRIBUTE_LEGEND_COST[2] = 1300;
  ATTRIBUTE_LEGEND_COST[3] = 2100;
  ATTRIBUTE_LEGEND_COST[4] = 3400;
  ATTRIBUTE_LEGEND_COST[5] = 5500;

  SKILL_LEGEND_COST.resize(11);
  SKILL_LEGEND_COST[0] = 0;
  SKILL_LEGEND_COST[1] = 200;
  SKILL_LEGEND_COST[2] = 300;
  SKILL_LEGEND_COST[3] = 500;
  SKILL_LEGEND_COST[4] = 800;
  SKILL_LEGEND_COST[5] = 1300;
  SKILL_LEGEND_COST[6] = 2100;
  SKILL_LEGEND_COST[7] = 3400;
  SKILL_LEGEND_COST[8] = 5500;
  SKILL_LEGEND_COST[9] = 8900;
  SKILL_LEGEND_COST[10] = 14400;

  TALENT_LEGEND_COST.resize(16);
  for (int c=1;c<=15;++c) { TALENT_LEGEND_COST[c].resize(16); TALENT_LEGEND_COST[c][0] = 0; }
  QVector<int> zeros; zeros.fill(0,16);
  TALENT_LEGEND_COST[0] = zeros;

  for (int c=1;c<=4;++c)
  {
    TALENT_LEGEND_COST[c][1] = 100;
    TALENT_LEGEND_COST[c][2] = 200;
    TALENT_LEGEND_COST[c][3] = 300;
    TALENT_LEGEND_COST[c][4] = 500;
    TALENT_LEGEND_COST[c][5] = 800;
    TALENT_LEGEND_COST[c][6] = 1300;
    TALENT_LEGEND_COST[c][7] = 2100;
    TALENT_LEGEND_COST[c][8] = 3400;
    TALENT_LEGEND_COST[c][9] = 5500;
    TALENT_LEGEND_COST[c][10] = 8900;
    TALENT_LEGEND_COST[c][11] = 14400;
    TALENT_LEGEND_COST[c][12] = 23300;
    TALENT_LEGEND_COST[c][13] = 37700;
    TALENT_LEGEND_COST[c][14] = 61000;
    TALENT_LEGEND_COST[c][15] = 98700;
  }
  for (int c=5;c<=8;++c)
  {
    for (int r=1;r<15;++r)
    {
      TALENT_LEGEND_COST[c][r] = TALENT_LEGEND_COST[1][r+1];
    }
    TALENT_LEGEND_COST[c][15] = 159700;
  }
  for (int c=9;c<=12;++c)
  {
    for (int r=1;r<15;++r)
    {
      TALENT_LEGEND_COST[c][r] = TALENT_LEGEND_COST[5][r+1];
    }
    TALENT_LEGEND_COST[c][15] = 258400;
  }
  for (int c=13;c<=15;++c)
  {
    for (int r=1;r<15;++r)
    {
      TALENT_LEGEND_COST[c][r] = TALENT_LEGEND_COST[9][r+1];
    }
    TALENT_LEGEND_COST[c][15] = 418100;
  }

  MINIMUM_TALENT_RANK_REQUIREMENTS.resize(16);
  MINIMUM_TALENT_RANK_REQUIREMENTS[0] = 0;
  MINIMUM_TALENT_RANK_REQUIREMENTS[1] = 0;
  MINIMUM_TALENT_RANK_REQUIREMENTS[2] = 2;
  MINIMUM_TALENT_RANK_REQUIREMENTS[3] = 3;
  MINIMUM_TALENT_RANK_REQUIREMENTS[4] = 4;
  MINIMUM_TALENT_RANK_REQUIREMENTS[5] = 5;
  MINIMUM_TALENT_RANK_REQUIREMENTS[6] = 6;
  MINIMUM_TALENT_RANK_REQUIREMENTS[7] = 7;
  MINIMUM_TALENT_RANK_REQUIREMENTS[8] = 8;
  MINIMUM_TALENT_RANK_REQUIREMENTS[9] = 9;
  MINIMUM_TALENT_RANK_REQUIREMENTS[10] = 10;
  MINIMUM_TALENT_RANK_REQUIREMENTS[11] = 11;
  MINIMUM_TALENT_RANK_REQUIREMENTS[12] = 11;
  MINIMUM_TALENT_RANK_REQUIREMENTS[13] = 12;
  MINIMUM_TALENT_RANK_REQUIREMENTS[14] = 12;
  MINIMUM_TALENT_RANK_REQUIREMENTS[15] = 13;

  KARMA[ed::Race_Elfe]        = QPair<int,int>(4,25);
  KARMA[ed::Race_Humain]      = QPair<int,int>(5,40);
  KARMA[ed::Race_Nain]        = QPair<int,int>(4,25);
  KARMA[ed::Race_Obsidien]    = QPair<int,int>(3,20);
  KARMA[ed::Race_Ork]         = QPair<int,int>(5,40);
  KARMA[ed::Race_Sylphelin]   = QPair<int,int>(6,60);
  KARMA[ed::Race_Troll]       = QPair<int,int>(3,20);
  KARMA[ed::Race_Tskrang]     = QPair<int,int>(4,25);
}
